add some info to persist tool
This commit is contained in:
parent
56f81ae821
commit
0c01735c4b
|
@ -63,11 +63,12 @@ proc main() =
|
|||
var counter = 0
|
||||
|
||||
while true:
|
||||
info "REQUEST HEADER", blockNumber=blockNumber
|
||||
var thisBlock = requestBlock(blockNumber)
|
||||
|
||||
headers.add thisBlock.header
|
||||
bodies.add thisBlock.body
|
||||
info "REQUEST HEADER", blockNumber=blockNumber, txs=thisBlock.body.transactions.len
|
||||
|
||||
inc numBlocks
|
||||
blockNumber += one
|
||||
|
||||
|
|
Loading…
Reference in New Issue