b533dfceba
If you're to sync less than 2000 headers no batched header key-value is gonna be written into the DB and init() would panic because bc.headerList.Len() would return 0. Use genesis block as a target in this case. |
||
---|---|---|
.. | ||
core | ||
crypto | ||
internal/keytestcases | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |