Partially refactored server/txpool/block manager/block chain
The Ethereum structure now complies to a EthManager interface which is being used by the tx pool, block manager and block chain in order to gain access to each other. It's become simpeler. TODO: BlockManager => StateManager
Showing
- ethchain/block_chain.go 28 additions, 1 deletionethchain/block_chain.go
- ethchain/block_manager.go 55 additions, 47 deletionsethchain/block_manager.go
- ethchain/state.go 38 additions, 0 deletionsethchain/state.go
- ethchain/transaction_pool.go 6 additions, 12 deletionsethchain/transaction_pool.go
- ethereum.go 23 additions, 12 deletionsethereum.go
- ethutil/value.go 29 additions, 0 deletionsethutil/value.go
- ethutil/value_test.go 13 additions, 0 deletionsethutil/value_test.go
- peer.go 11 additions, 9 deletionspeer.go
Loading
Please register or sign in to comment