OSDN Git Service
Opt db (#1926)
* feat(add save_block_header fn): add SaveBlockHeader fn
* feat(opt save_block): opt SaveBlock fn
* feat(modify cache_test): modify cache test
* feat(rename block cache): rename blockCache as cache
* feat(add get block): add get block
* feat(modify): modify
* feat(modify block_header): modify writer_to and read_from
* feat(modify bloch_header): modify block_header
* feat(fix block_header_test): add BlockWitness
* feat(fix block_test): fix block_test
* feat(fix block integration test): fix block integration test
* feat(fix block_header_test.go): fix
* feat(fix block_test.go): fix block_test.go
* feat(opt code format): opt code format of store.go
* feat(modify cache): modify cache
* feat(modify cache): modify cache
* feat(modify store.go): modify store.go
* feat(modify): modify
* feat(modify block_integration_uitl.go): modify block_integration_util.go
* feat(delete max_cached_blocks): delete maCachedBlocks
* feat(delete mu): delete mu
* feat(delete blockprefix and txstatusprefix): delete const BlockPrefix and TxsStatusPrefix
* feat(add notes): add consts notes
13 files changed: