We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de2e786 commit 3dbd4f4Copy full SHA for 3dbd4f4
src/index.ts
@@ -11,7 +11,7 @@ import type { CID } from 'multiformats/cid'
11
import type { MultihashDigest } from 'multiformats/hashes/interface'
12
13
const log = logger('ipns')
14
-const DEFAULT_TTL_NS = 60 * 60 * 1e+9 // 1 Hour or 3600 Seconds
+const DEFAULT_TTL_NS = 5 * 60 * 1e+9 // 5 Minutes or 300 Seconds, as suggested by https://specs.ipfs.tech/ipns/ipns-record/#ttl-uint64
15
16
export const namespace = '/ipns/'
17
export const namespaceLength = namespace.length
0 commit comments