This repository was archived by the owner on Feb 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Expand file tree Collapse file tree 3 files changed +0
-15
lines changed Original file line number Diff line number Diff line change 8080 "dependencies" : {
8181 "@nodeutils/defaults-deep" : " ^1.1.0" ,
8282 "async" : " ^2.6.1" ,
83- "base32.js" : " ~0.1.0" ,
8483 "big.js" : " ^5.2.2" ,
8584 "binary-querystring" : " ~0.1.2" ,
8685 "bl" : " ^2.1.2" ,
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ const waterfall = require('async/waterfall')
77const Keychain = require ( 'libp2p-keychain' )
88const defaultsDeep = require ( '@nodeutils/defaults-deep' )
99const NoKeychain = require ( './no-keychain' )
10-
11- const IPNS = require ( '../ipns' )
12- const OfflineDatastore = require ( '../ipns/routing/offline-datastore' )
13-
1410/*
1511 * Load stuff from Repo into memory
1612 */
@@ -99,13 +95,6 @@ module.exports = function preStart (self) {
9995
10096 cb ( )
10197 } ,
102- // Setup offline routing for IPNS.
103- ( cb ) => {
104- const offlineDatastore = new OfflineDatastore ( self . _repo )
105-
106- self . _ipns = new IPNS ( offlineDatastore , self )
107- cb ( )
108- } ,
10998 ( cb ) => self . pin . _load ( cb )
11099 ] , callback )
111100 }
Original file line number Diff line number Diff line change @@ -4,14 +4,11 @@ const { Key } = require('interface-datastore')
44const { Record } = require ( 'libp2p-record' )
55const { encodeBase32 } = require ( './utils' )
66
7- << < << << HEAD
87const errcode = require ( 'err-code' )
98const debug = require ( 'debug' )
109const log = debug ( 'jsipfs:ipns:offline-datastore' )
1110log . error = debug ( 'jsipfs:ipns:offline-datastore:error' )
1211
13- === = ===
14- >>> > >>> refactor : ipns routing logic moved to instantiation
1512// Offline datastore aims to mimic the same encoding as routing when storing records
1613// to the local datastore
1714class OfflineDatastore {
You can’t perform that action at this time.
0 commit comments