Closed yangby-cryptape closed 11 months ago
tweak log levels
After light client reaches the latest block, then:
N
copy prove state from peer
N-1
no check point is found
1999
2000
trace
add logs
At present, if trace logs are enabled, only the block numbers are output when print difficulties distribution.
So, print block hashes at function entry.
tweak log levels
After light client reaches the latest block, then:
N
peers,copy prove state from peer
will be outputN-1
times for every block.no check point is found
will be output1999
times per2000
blocks. So, change levels for those logs totrace
.add logs
At present, if
trace
logs are enabled, only the block numbers are output when print difficulties distribution.So, print block hashes at function entry.