NikVolf
8e975669c0
suppress trait that is not used so far
2016-11-21 16:08:40 +03:00
NikVolf
7cf8d09444
pre-hashed indexed block
2016-11-21 15:36:25 +03:00
Svyatoslav Nikolsky
97db02cba8
reverify decanonized transactions
2016-11-21 12:39:57 +03:00
Marek Kotewicz
2e51589403
Merge pull request #151 from ethcore/db
...
Configurable db cache size
2016-11-21 10:22:29 +01:00
NikVolf
0da1fb184c
configurable cache size
2016-11-21 11:52:27 +03:00
debris
12fbcf6735
fatal db-error
2016-11-18 01:51:43 +01:00
debris
a9fe6e5cdb
simplifing code
2016-11-18 01:40:40 +01:00
debris
09537c3a84
replace db printlns with panics
2016-11-18 01:07:19 +01:00
NikVolf
c3a764e916
panic on transaction malformed in the db
2016-11-18 00:57:41 +03:00
NikVolf
b9793e06dd
refactor verification
2016-11-17 21:26:17 +03:00
NikVolf
e0066504d2
decompose
2016-11-17 21:19:25 +03:00
NikVolf
c8f3652c46
fix typo
2016-11-17 18:15:11 +03:00
NikVolf
7c6dcade30
Merge branch 'master' into db
2016-11-17 18:12:42 +03:00
NikVolf
f594685680
tests
2016-11-17 18:10:51 +03:00
NikVolf
b45d208b31
fix tabs & height
2016-11-17 18:00:56 +03:00
NikVolf
7a0c9f44f6
reorganization result
2016-11-17 17:56:44 +03:00
Svyatoslav Nikolsky
4e74bb7f68
Merge branch 'master' into sync_transactions
2016-11-17 11:14:05 +03:00
Svyatoslav Nikolsky
bc7cd94747
started work on transactions synchronization
2016-11-17 11:03:24 +03:00
NikVolf
94fbe040b5
more logging refact
2016-11-16 17:54:43 +03:00
NikVolf
cbd4227f35
use reversed hashes in logging
2016-11-16 17:49:36 +03:00
NikVolf
f33191fdc8
fix wrong warning
2016-11-15 17:37:09 +03:00
NikVolf
69c3501d48
proper reorg failing handling
2016-11-15 17:27:59 +03:00
NikVolf
b8adad56c3
double spend consistency test
2016-11-15 15:56:09 +03:00
NikVolf
4f2b5be34f
split logic errors in separate enum
2016-11-15 15:14:25 +03:00
NikVolf
615aa61423
fix b17
2016-11-15 14:59:55 +03:00
NikVolf
3ad579ea29
proper tx sigopcounting
2016-11-14 23:56:43 +03:00
NikVolf
925c7c71f5
proper drying
2016-11-11 16:13:28 +03:00
NikVolf
041d903da3
todo for future
2016-11-11 15:24:44 +03:00
NikVolf
0c3eed40a3
meta transactionality also
2016-11-11 15:24:04 +03:00
NikVolf
ce86a577ad
proper rollback in the reorg
2016-11-11 14:06:51 +03:00
NikVolf
0526de873e
non-coinbase test
2016-11-11 11:45:40 +03:00
Svyatoslav Nikolsky
17e47bad4a
Merge pull request #108 from ethcore/coinbase-verify
...
Proper tests & fixes for verification checks
2016-11-11 07:57:46 +03:00
NikVolf
b8f38ad121
proper tests and fixes
2016-11-11 00:15:12 +03:00
Nikolay Volf
b2b2f5b3d7
Merge pull request #107 from ethcore/coinbase-verify
...
Missing ordered checks for verification
2016-11-10 22:55:25 +03:00
NikVolf
390c7d2854
more convenient best block check
2016-11-10 19:43:31 +03:00
NikVolf
1a553e2caf
some verifications
2016-11-10 19:19:47 +03:00
NikVolf
a77c986e11
test storage proper projection
2016-11-10 18:29:54 +03:00
NikVolf
33b4143e74
accepted block lcations
2016-11-10 17:53:39 +03:00
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