Skip to content

Commit

Permalink
feat: update defaults to be the same as kubo cid-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Jan 16, 2025
1 parent 69144a6 commit 3d14d45
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import Spinner from './Spinner'

export default function App () {
const [files, setFiles] = useState([])
const [cidVersion, setCidVersion] = useState(0)
const [chunker, setChunker] = useState('size-512')
const [rawLeaves, setRawLeaves] = useState(false)
const [cidVersion, setCidVersion] = useState(1)
const [chunker, setChunker] = useState('size-1048576')
const [rawLeaves, setRawLeaves] = useState(true)
const [strategy, setStrategy] = useState('balanced')
const [maxChildren, setMaxChildren] = useState(11)
const [maxChildren, setMaxChildren] = useState(174)
const [layerRepeat, setLayerRepeat] = useState(4)
const [rootCid, setRootCid] = useState(null)
const [focusedNode, setFocusedNode] = useState(null)
Expand All @@ -36,11 +36,11 @@ export default function App () {
}

const onReset = () => {
setCidVersion(0)
setCidVersion(1)
setFiles([])
setChunker('size-512')
setChunker('size-1048576')
setStrategy('balanced')
setMaxChildren(11)
setMaxChildren(174)
setLayerRepeat(4)
setRootCid(null)
setFocusedNode(null)
Expand Down

0 comments on commit 3d14d45

Please sign in to comment.