Svyatoslav Nikolsky
e4d2ddb9ce
removed debugging stuff
2016-11-10 16:06:56 +03:00
Svyatoslav Nikolsky
9d6f09889e
Merge branch 'master' into sync_as_bitcoind
2016-11-10 14:56:58 +03:00
Svyatoslav Nikolsky
78cae830cc
headers-first sync
2016-11-10 14:50:00 +03:00
debris
f7a73f6520
fixed clippy lints for db, keys, miner, and script
2016-11-08 21:01:36 +01:00
NikVolf
631842f0e4
Merge branch 'master' into reorg
2016-11-07 21:05:38 +03:00
NikVolf
01cb909125
double reorganize and transaction spend tests
2016-11-07 21:01:25 +03:00
Nikolay Volf
5d587e20f6
Reorganization in chain database ( #93 )
...
* tests first
* decanonize & test
* fix denote bug
* fork route & test
* some refactoring of the transaction processing
* reorganization on insert
* non-reorg tests
* fix warnings
* fix doc comment
* long fork reorg test
* todo for shorter reorgs
2016-11-07 11:57:23 +01:00
NikVolf
9f7dcb6816
todo for shorter reorgs
2016-11-07 13:26:51 +03:00
NikVolf
679b83ecd0
long fork reorg test
2016-11-07 13:24:46 +03:00
NikVolf
f3ef34cb29
fix doc comment
2016-11-06 21:07:14 +03:00
NikVolf
696bb4f6c8
fix warnings
2016-11-06 20:25:47 +03:00
NikVolf
cb8dae3242
non-reorg tests
2016-11-05 15:31:11 +03:00
NikVolf
dac7978e8f
reorganization on insert
2016-11-05 15:00:15 +03:00
NikVolf
4bb0bc47c8
some refactoring of the transaction processing
2016-11-05 13:58:05 +03:00
NikVolf
e8ffcae1f6
fork route & test
2016-11-04 21:33:08 +03:00
NikVolf
176c4fbfd9
fix denote bug
2016-11-04 20:27:02 +03:00
NikVolf
6cf8ecf624
decanonize & test
2016-11-04 19:54:35 +03:00
NikVolf
ad7d6fe598
tests first
2016-11-04 18:50:41 +03:00
NikVolf
3f708b6e71
block number store
2016-11-02 17:41:56 +03:00
Svyatoslav Nikolsky
77641d27db
added db::Store::block_number
2016-11-01 09:39:57 +03:00
Svyatoslav Nikolsky
3b91862d85
added synchronization_chain tests
2016-10-31 17:11:16 +03:00
Svyatoslav Nikolsky
4f9d68cd99
Moved sync::BestBlock to db::BestBlock ( #65 )
...
* * moved BestBlock to db package
* use u32 as block index in sync package
* fixed compilation after merge
2016-10-31 14:58:48 +01:00
debris
e2245097d4
reader is generic over io::Read
2016-10-31 01:05:21 +01:00
NikVolf
439f88ec82
meta another bug
2016-10-28 15:48:53 +03:00
NikVolf
41efa976b8
meta bug
2016-10-28 14:35:21 +03:00
NikVolf
e35dae2d6d
meta in the same block
2016-10-28 12:05:30 +03:00
NikVolf
2a16ce196e
fix warnings
2016-10-28 01:18:37 +03:00
NikVolf
350be827a9
db test using new builders
2016-10-28 01:16:14 +03:00
NikVolf
e250d49001
reenable transaction meta storing
2016-10-27 20:54:12 +03:00
NikVolf
3bf81c4cf3
disable transaction meta update
2016-10-27 16:16:05 +03:00
NikVolf
a7fb6f85c4
failing test for block 221
2016-10-27 15:48:14 +03:00
NikVolf
4a6c0a173f
more sophisticated spent marker
2016-10-27 15:26:06 +03:00
NikVolf
f20a0f8d31
proper height save for main chain
2016-10-27 14:32:34 +03:00
NikVolf
58e9fccce2
proper tests
2016-10-27 14:28:24 +03:00
NikVolf
a385333d3d
none -> 0 for genesis
2016-10-27 14:24:59 +03:00
NikVolf
a05de379eb
unified best lock
2016-10-27 13:27:18 +03:00
NikVolf
3ca794ceca
Merge branch 'master' into db-up
2016-10-27 12:13:31 +03:00
Svyatoslav Nikolsky
653b250960
fixed style && unwraps
2016-10-27 12:06:24 +03:00
NikVolf
0ffe1a2233
transaction metadata update
2016-10-27 02:20:30 +03:00
NikVolf
709dd9e1f4
best number & hash in store
2016-10-27 01:50:44 +03:00
NikVolf
93b765d8ea
u32 everywhere
2016-10-26 23:58:19 +03:00
Svyatoslav Nikolsky
98803d6afe
integrating sync module with db && verification
2016-10-26 15:56:52 +03:00
NikVolf
fa4994941e
fix typo
2016-10-25 15:54:09 +03:00
NikVolf
387f9bc429
toh256 -> represeth256
2016-10-25 15:34:06 +03:00
NikVolf
108b4b6383
h256 represented entities
2016-10-24 18:18:02 +03:00
NikVolf
7ebd4c947a
test storage to db
2016-10-24 17:08:25 +03:00
NikVolf
526f2f023e
test storage stub
2016-10-21 19:31:33 +03:00
NikVolf
e3558fc269
chain verifier stub
2016-10-21 18:23:18 +03:00
NikVolf
729c920cc4
test data crate
2016-10-18 18:23:40 +03:00
debris
aa6139b824
use primitives::Bytes instead of typename
2016-10-16 11:48:45 +02:00
NikVolf
620a09a13f
more review fixes
2016-10-15 19:15:51 +03:00
NikVolf
1bf55b7b52
remove merge bugs
2016-10-15 19:14:40 +03:00
NikVolf
767e78b416
version ocnst
2016-10-15 18:37:42 +03:00
NikVolf
c72f3f444d
some docs
2016-10-15 17:57:11 +03:00
NikVolf
3195743ce7
transaction save-load & test
2016-10-15 17:55:19 +03:00
NikVolf
aa2e1f64d0
tests & various routines
2016-10-15 17:48:06 +03:00
NikVolf
add9c72817
loading
2016-10-15 13:06:52 +03:00
NikVolf
8666aae12b
Merge branch 'master' into db-store
2016-10-15 12:31:27 +03:00
debris
4bb9726d09
fixed linking parking_lot, remove wildcard imports
2016-10-14 15:02:04 +02:00
NikVolf
fda5334a2b
flush work
2016-10-14 14:26:17 +03:00
NikVolf
ae2c081c2e
more storage methods
2016-10-13 22:06:18 +03:00
NikVolf
030e2c2a19
fix compilation
2016-10-13 15:07:21 +03:00
NikVolf
e3659e44f7
store trait
2016-10-13 15:06:12 +03:00
NikVolf
b10629e95d
arrange tests
2016-10-13 14:25:59 +03:00
NikVolf
deefe60a13
key-value database initial
2016-10-13 14:13:50 +03:00