Commit Graph

25 Commits

Author SHA1 Message Date
debris f4c958e9f2 db cache refactor in progress 2017-04-21 13:59:06 +02:00
debris 6aa78e42e1 db cache refactor in progress 2017-04-21 09:54:18 +02:00
debris 1eb99cd8b9 use tempdir instead of devtools 2017-04-06 01:05:37 +07:00
Marek Kotewicz 77cfd9e8f7 db refactor (#385)
* 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
2017-04-05 16:37:58 +07:00
debris f193a03fd6 updated csv && byteorder libraries 2017-03-12 16:05:35 +01:00
debris 721a31577b cleanup docs 2016-12-15 16:03:59 +01:00
debris ce7af59ad3 hash block and transactions while reading them 2016-12-13 18:06:46 +01:00
debris 6ecdfd78c5 few optimizations with Borrow and AsRef 2016-12-13 13:33:06 +01:00
debris 5a1041f72a change nbits: u32 -> bits: Compact, miner uses verification 2016-12-08 21:17:28 +01:00
debris 68a3bb2d34 linting in progress 2016-11-08 16:37:06 +01:00
debris 436d925ba6 clippy lints enabled for crypto, message, p2p, pbtc, primitives and serialization 2016-11-08 11:51:34 +01:00
debris 05ed9567e9 import module 2016-10-31 03:12:44 +01:00
debris 8d580471fa updated chain module to use new reader 2016-10-31 00:28:50 +01:00
debris 77204cb41c reader reads from any io::Read 2016-10-31 00:20:24 +01:00
debris d87626884d Serializable trair extended with serialized_size function 2016-10-17 11:17:00 +02:00
NikVolf aa2e1f64d0 tests & various routines 2016-10-15 17:48:06 +03:00
debris ffc300f85a message cleanup in progress 2016-10-10 18:08:22 +02:00
debris 63ca383949 use H32 instead of [u8; 4] 2016-10-06 00:38:20 +02:00
debris 876c589f5c all messages types implemented 2016-10-04 01:48:27 +02:00
debris 28f6abb63e tests and fixes for message serialization 2016-09-20 12:49:04 +02:00
debris 3e373acd23 version message serialization 2016-09-20 12:16:54 +02:00
debris 40b8af572f checksum moved to crypto lib, added message struct to net lib 2016-09-19 19:19:04 +02:00
debris 0f7f75dee3 net command 2016-09-19 18:57:41 +02:00
debris d8a9ebfb1b serialize returns bytes 2016-09-19 18:06:43 +02:00
debris 744c53202e serialization separated to its own lib 2016-09-19 15:15:56 +02:00