debris
195b8d8b6d
fixed bip90
2017-04-08 21:17:58 +07:00
debris
8242db0428
Merge branch 'consolidate' into bip90
2017-04-08 21:04:02 +07:00
debris
eef94cc65f
fixed bip66
2017-04-08 20:59:10 +07:00
debris
21fdfabb0e
consolidated TransactionOutputProvider and TransactionOutputObserver
2017-04-07 12:54:40 +07:00
debris
2074076c41
simplify verification code
2017-04-07 11:46:20 +07:00
debris
fc3b2a13bf
removed redundant StorageTransactionOutputProvider, clarified bip30
2017-04-06 22:37:57 +07:00
debris
dd36a624fa
updated dependencies and graph
2017-04-05 17:17:23 +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
98a82ea779
updated futures and rayon crate
2017-03-20 08:37:28 +01:00
NikVolf
b9dd932983
align with crate
2016-12-26 16:00:44 +03:00
debris
a87ddbc2fc
erge branch 'master' of github.com:ethcore/parity-bitcoin into docs
2016-12-15 16:07:51 +01:00
debris
721a31577b
cleanup docs
2016-12-15 16:03:59 +01:00
debris
f1f68f497b
P2shCoinbaseTransactionBuilder && Magic::Unitest && removed skip_pow from chain_verification
2016-12-15 14:27:36 +01:00
NikVolf
57858a059a
verbose difficulty error
2016-12-14 15:43:10 +01:00
NikVolf
66ab6f3727
Merge branch 'master' into fix-overflow
2016-12-14 14:11:49 +01:00
NikVolf
8ba14c028c
fix hardcorded error
2016-12-14 13:27:02 +01:00
NikVolf
9ebbb252bd
trailing comma
2016-12-14 13:25:24 +01:00
NikVolf
91206defc1
proper counting block fees and rewards
2016-12-14 13:20:09 +01:00
Svyatoslav Nikolsky
a0193c024d
Merge pull request #327 from ethcore/verification-bench
...
Verification benchmark
2016-12-14 15:17:45 +03:00
NikVolf
9fc5583fa3
Merge branch 'master' into fix-overflow
2016-12-14 13:08:45 +01:00
NikVolf
c6858c64ae
wip
2016-12-14 13:08:19 +01:00
Svyatoslav Nikolsky
ab1e9311ff
Merge pull request #329 from ethcore/verification-overflow
...
Move overflow checks into separate error type
2016-12-14 11:03:52 +03:00
NikVolf
4fdf56ccf4
move overflow into separate error type
2016-12-13 23:27:12 +01:00
NikVolf
5017956dbc
move overflow into separate error type
2016-12-13 23:26:39 +01:00
NikVolf
c0e134a36e
verification of 1000-transaction blocks
2016-12-13 22:01:15 +01:00
debris
7baaa47b8c
import is hashing blocks when reading, added --skip-verification flag
2016-12-13 20:49:41 +01:00
debris
8d7a45f2ca
TransactionOutputGenerator always creates spendable transactions
2016-12-13 12:41:27 +01:00
debris
d0c480565d
applying suggestions from review and adding comments
2016-12-13 10:50:56 +01:00
debris
c5bb32f931
fixed median_timestamp function
2016-12-12 23:31:17 +01:00
debris
0f7348e139
fixes after merge with master
2016-12-12 15:49:32 +01:00
debris
7d7498b35c
add logs to verification
2016-12-12 14:32:47 +01:00
debris
2f7b940794
DoubleSpends verification
2016-12-12 13:11:00 +01:00
debris
64a3d4d080
verification refactor almost done
2016-12-12 12:04:19 +01:00
debris
552b7b2468
Merge branch 'master' of github.com:ethcore/parity-bitcoin into block_assembler_tests
2016-12-12 10:33:24 +01:00
debris
a4e64c0fec
TransactionEval rule
2016-12-11 23:26:22 +01:00
debris
74817084ab
memory pool transaction acceptor
2016-12-11 23:00:42 +01:00
debris
1d2e0ce495
TransactionAcceptor
2016-12-11 22:31:10 +01:00
NikVolf
4d178961f2
using background writes
2016-12-11 20:15:44 +01:00
debris
95c2fa7d8d
HeaderAcceptor finished
2016-12-11 19:10:00 +01:00
debris
0df90a85bd
use rayon for parallel verification
2016-12-11 17:42:26 +01:00
debris
f8c71c6c37
moved verification Canon structs to their own file
2016-12-11 16:12:28 +01:00
debris
b17e466af8
ChainVerifier refactor in progress
2016-12-11 16:03:16 +01:00
debris
f1475696c8
ChainVerifier refactor in progress
2016-12-11 04:01:48 +01:00
debris
06971497ee
Merge branch 'master' into block_assembler_tests
2016-12-10 23:05:14 +01:00
debris
56e4e54074
Transaction Output Observer
2016-12-10 22:34:04 +01:00
debris
f669a27d06
PreviousTransactionOutputProvider refactor in progress
2016-12-10 19:47:02 +01:00
debris
bfd236a632
fixed block assembler iterator when one of previous transactions was ignored, iterator is also generic over entries
2016-12-10 12:24:46 +01:00
debris
f76ab12e06
Merge branch 'master' of github.com:ethcore/parity-bitcoin into indexed_block
2016-12-09 19:44:14 +01:00
Marek Kotewicz
9a3c8de606
Merge pull request #273 from ethcore/tx-cache
...
Transaction & meta lru cache (WiP)
2016-12-09 19:40:43 +01:00
NikVolf
dc6b874ab7
fix bug with work distribution
2016-12-09 18:47:01 +01:00
NikVolf
e707fd73cb
update review
2016-12-09 17:49:02 +01:00
debris
df65e29658
refactor indexed_block, avoid unnecessery copying
2016-12-09 15:44:34 +01:00
debris
033d423686
verification share some constants with miner module, block assemlber takes into account size of block header
2016-12-09 12:38:18 +01:00
debris
3ca513d88f
finished block assembler
2016-12-09 11:40:42 +01:00
debris
3080ade4bd
sigops counting separated to its own module
2016-12-09 11:16:50 +01:00
debris
5a1041f72a
change nbits: u32 -> bits: Compact, miner uses verification
2016-12-08 21:17:28 +01:00
debris
f5b1d95d2d
block assembler in progress
2016-12-08 16:45:37 +01:00
debris
9f17f8a525
fixed difficulty calculcation on testnet
2016-12-05 13:50:08 +01:00
debris
b3c9c30edb
verify work and skip timestamp verification on testnet
2016-12-02 12:01:30 +01:00
Svyatoslav Nikolsky
fac3864f45
connected sync to verify_block_header
2016-12-01 14:55:21 +03:00
Svyatoslav Nikolsky
11e1f8d5c8
BlockHeaderProvider
2016-12-01 14:04:40 +03:00
Svyatoslav Nikolsky
bd3bea760d
verify_block_header
2016-12-01 13:44:48 +03:00
NikVolf
9416c28f76
fix doc comment
2016-11-30 17:20:59 +03:00
NikVolf
51fe9b6e01
output proxy
2016-11-30 17:19:23 +03:00
debris
c7983a57ac
make consensus params a property of verifier
2016-11-29 17:06:15 +01:00
debris
7270bba43c
verification flags
2016-11-29 17:03:59 +01:00
debris
65664556b6
initial work on b82, abstraction for verify_transaction, use PreviousTransactionOutputProvider
2016-11-29 14:40:55 +01:00
NikVolf
a57271c8f9
parallel threshold
2016-11-29 15:24:02 +03:00
NikVolf
a17c2fe82a
using task-splitter in block
2016-11-29 14:07:11 +03:00
NikVolf
cfaa6fadbf
fix warnings
2016-11-28 16:40:22 +03:00
NikVolf
24803433b3
Merge branch 'master' into indexed-blocks
2016-11-28 15:32:56 +03:00
debris
b877b1398a
Merge branch 'master' of github.com:ethcore/parity-bitcoin into sigops
2016-11-27 22:38:40 +01:00
debris
e839b8b499
sigops_count fixes
2016-11-27 22:38:30 +01:00
NikVolf
67e64a5391
verificatino uses indexed blokcs
2016-11-27 23:49:51 +03:00
NikVolf
84e322735c
fix typo
2016-11-27 19:19:31 +03:00
debris
42ce57e6a8
fixed bip30 tests, tx finality reg tests passing
2016-11-27 15:05:49 +01:00
debris
9d0d251a37
few functions are more idiomatic, initial support for bip30
2016-11-26 15:05:54 +01:00
debris
847cb36c6f
chain verifier does not have hardcoded network constants
2016-11-25 18:38:21 +01:00
NikVolf
2cdf526ee9
using sorted list of timestamps to evaluate median
2016-11-25 16:54:56 +03:00
NikVolf
c4ab5e70ac
use 11 blocks, not 10
2016-11-25 16:29:37 +03:00
NikVolf
57ce99c5ce
use thread static instead of honest timestamps
2016-11-25 15:13:38 +03:00
NikVolf
a4de321cc7
median time verfication might be unordered?
2016-11-25 14:54:22 +03:00
NikVolf
9f4469e480
fix timestamp generation and check
2016-11-25 14:40:07 +03:00
debris
e167b3350a
few more simplifications
2016-11-25 02:07:46 +01:00
debris
3143ff75d0
simplified few more lines
2016-11-25 02:05:49 +01:00
debris
40682073ab
more idiomatic enumeration over transactions
2016-11-25 01:58:51 +01:00
debris
98b514b256
median timestamp
2016-11-25 01:07:38 +01:00
debris
355306e747
retarget
2016-11-24 23:33:51 +01:00
debris
43dcd741d1
Merge branch 'verification-target' of github.com:ethcore/parity-bitcoin into pow_validation
2016-11-23 10:30:39 +01:00
debris
961e4361cf
pow validation in progress
2016-11-23 04:10:11 +01:00
NikVolf
7f5e5fb036
threshold to nbits
2016-11-23 00:13:51 +03:00
NikVolf
34a582b8e9
expected nbits method & support
2016-11-22 18:26:00 +03:00
NikVolf
e6c182a904
nbits max check
2016-11-22 12:00:38 +03:00
NikVolf
eb24c5aff6
coinbase verification at index > 0
2016-11-22 03:27:37 +03:00
NikVolf
fff3c29e6d
this is always wrong way first
2016-11-22 03:18:15 +03:00
NikVolf
b2798841de
refactored sigop counter
2016-11-22 02:50:27 +03:00
Nikolay Volf
40775cae82
Merge pull request #161 from ethcore/fixed_b41_b42_acceptence
...
b41 and b42 are correctly validated
2016-11-21 19:39:33 +03:00
debris
edfc13f0ba
fixed interpreter OP_DUP operation, converting integers to hashes, added more traces
2016-11-21 17:05:42 +01:00
NikVolf
8e975669c0
suppress trait that is not used so far
2016-11-21 16:08:40 +03:00
debris
6fa1ce326a
Merge branch 'master' of github.com:ethcore/parity-bitcoin into test_scripts
2016-11-18 00:46:06 +01:00