mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-27 04:26:07 +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:
|
for key in keys:
|
||||||
withTimer(timers[tDbGet]):
|
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:
|
for key in keys:
|
||||||
withTimer(timers[tDbContains]):
|
withTimer(timers[tDbContains]):
|
||||||
|
@ -255,6 +255,7 @@ proc run(config: PortalCliConf) =
|
|||||||
testContentIdHandler,
|
testContentIdHandler,
|
||||||
createGetHandler(db),
|
createGetHandler(db),
|
||||||
createStoreHandler(db, defaultRadiusConfig),
|
createStoreHandler(db, defaultRadiusConfig),
|
||||||
|
createContainsHandler(db),
|
||||||
createRadiusHandler(db),
|
createRadiusHandler(db),
|
||||||
stream,
|
stream,
|
||||||
bootstrapRecords = bootstrapRecords,
|
bootstrapRecords = bootstrapRecords,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user