add some info to persist tool
This commit is contained in:
parent
56f81ae821
commit
0c01735c4b
|
@ -62,12 +62,13 @@ proc main() =
|
|||
var numBlocks = 0
|
||||
var counter = 0
|
||||
|
||||
while true:
|
||||
info "REQUEST HEADER", blockNumber=blockNumber
|
||||
while true:
|
||||
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