mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 13:24:21 +00:00
Update fluffy-tools.
This commit is contained in:
parent
3a93b24a3e
commit
29002618a6
@ -108,7 +108,11 @@ proc cmdBench(conf: DbConf) =
|
||||
|
||||
for key in keys:
|
||||
withTimer(timers[tDbGet]):
|
||||
let _ = db.get(key)
|
||||
var val = Opt.none(seq[byte])
|
||||
proc onData(data: openArray[byte]) =
|
||||
val = Opt.some(@data)
|
||||
|
||||
let _ = db.get(key, onData)
|
||||
|
||||
for key in keys:
|
||||
withTimer(timers[tDbContains]):
|
||||
|
@ -255,6 +255,7 @@ proc run(config: PortalCliConf) =
|
||||
testContentIdHandler,
|
||||
createGetHandler(db),
|
||||
createStoreHandler(db, defaultRadiusConfig),
|
||||
createContainsHandler(db),
|
||||
createRadiusHandler(db),
|
||||
stream,
|
||||
bootstrapRecords = bootstrapRecords,
|
||||
|
Loading…
x
Reference in New Issue
Block a user