Current seed nodes are outdated which results in the IBD for Bitcoin Cash
(mainnet & testnet) never starting. The newly introduced nodes fix this
problem.
- In this PR I extract from the crate `db` to the new `storage` crate all traits that is not specifically related to the concrete implementation of database. So I now can use `verification` crate without `rocksdb` dependency.
- Also I modify the `HeaderAcceptor` so that can be constructed without the private `BlockDeployments`.
* autoconnect on start
* proper # of outbound connections in autoconnect
* close connection to seednode after receiving addr
* fixed seednodes list
* do not connect to same IPv4 && IPv6
* disconnect from seednode when >1 addr received
* added couple of debug helpers to deal with panics
* trying to fix compilation
* trying to fix compilation
* test
* Revert "test"
This reverts commit 6169f7e1eb5cc7b43ea2e538686cb0144bf64712.
* db refactor in progress, refactored kvdb
* kvdb refactor
* removed unused RwLock
* removed unused RwLock
* BlockChainDatabase
* db refactor in progress
* implemented BlockProvider for newdb
* fixed compiling
* newdb TransactionMeta
* newdb tests
* reopen tests for newdb
* replaced old db with new db
* chain_verifier uses new db
* sync module uses refactored db
* check double spends in verification layer
* added Forkable trait to satisfy resolving recursive types by compiler
* new db regtests in progress
* fixed verification and sync unit tests
* fixed miner and rpc unit tests
* implemented fmt::Debug for few structs
* removed commented out code
* fixed bencher target
* removing commented out code, polishing db_refactor pr