Commit Graph

65 Commits

Author SHA1 Message Date
Svyatoslav Nikolsky 1f1e274dd1 fixed grumbles 2017-08-28 09:10:49 +03:00
Svyatoslav Nikolsky 1b1cebdaac segwit: test_witness_hash_differs 2017-08-23 13:16:52 +03:00
Svyatoslav Nikolsky 5fb35020f6 segwit: basic serialization tests 2017-08-23 13:14:19 +03:00
Svyatoslav Nikolsky db46633ef8 segwit: optimized size_with_witness 2017-08-23 12:49:22 +03:00
Svyatoslav Nikolsky 4c432858cf segwit: cleaned up duplicate structs 2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky abbffb49bb segwit: commitment check + weight check 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky d4a191aec1 segwit: initial flush 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky 07f260b600 update dependencies 2017-08-02 11:38:08 +03:00
debris 2646059c47 chain uses serialization_derive 2017-07-22 02:53:02 +02:00
debris f99c369e87 block finality check uses median time past instead of block time after csv is activated (bip113) 2017-05-04 10:32:54 +02:00
debris 2074076c41 simplify verification code 2017-04-07 11:46:20 +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
Svyatoslav Nikolsky a0020bbda0 Merge pull request #347 from ethcore/sync_v2
Sync refactoring
2016-12-27 14:33:42 +03:00
NikVolf b9dd932983 align with crate 2016-12-26 16:00:44 +03:00
Svyatoslav Nikolsky 9dad2a3eec Merge branch 'master' into sync_v2 2016-12-23 16:19:07 +03:00
Svyatoslav Nikolsky d696dcfdaf sync_v2 2016-12-23 16:13:18 +03:00
debris f1f68f497b P2shCoinbaseTransactionBuilder && Magic::Unitest && removed skip_pow from chain_verification 2016-12-15 14:27:36 +01:00
Nikolay Volf e3c1399b9e Merge pull request #333 from ethcore/rpc_raw_continue
`createrawtransaction` method completed
2016-12-14 18:24:51 +01:00
Svyatoslav Nikolsky 424d582f85 createrawtransaction RPC completed 2016-12-14 18:00:22 +03:00
NikVolf d21721d47e maxing out transaction total spend 2016-12-14 15:01:06 +01:00
Svyatoslav Nikolsky f54b7691c4 Merge branch 'master' into fix_319 2016-12-14 00:17:47 +03:00
Svyatoslav Nikolsky 945c19a8eb replace non-final transactions in mempool 2016-12-14 00:14:07 +03:00
debris 7baaa47b8c import is hashing blocks when reading, added --skip-verification flag 2016-12-13 20:49:41 +01:00
debris b161ce1997 fix compilation 2016-12-13 13:52:06 +01:00
debris 6ecdfd78c5 few optimizations with Borrow and AsRef 2016-12-13 13:33:06 +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 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
Svyatoslav Nikolsky 563997e935 no double-spend transactions in mempool 2016-12-02 14:45:14 +03:00
debris b90d3eebcf Merge branch 'master' into previous_transaction_output_provider 2016-11-29 16:15:46 +01:00
debris 65664556b6 initial work on b82, abstraction for verify_transaction, use PreviousTransactionOutputProvider 2016-11-29 14:40:55 +01:00
Svyatoslav Nikolsky 02aa1dcf12 lost file 2016-11-29 13:48:14 +03:00
debris 42ce57e6a8 fixed bip30 tests, tx finality reg tests passing 2016-11-27 15:05:49 +01:00
debris 3a771fc122 removed unused code 2016-11-25 02:01:21 +01:00
debris 49dcd81f93 Merge branch 'master' of github.com:ethcore/parity-bitcoin into pow_validation 2016-11-24 23:37:27 +01:00
debris 355306e747 retarget 2016-11-24 23:33:51 +01:00
Svyatoslav Nikolsky 62d5daf29b added tests for merkleblock message 2016-11-24 12:26:37 +03:00
debris 961e4361cf pow validation in progress 2016-11-23 04:10:11 +01:00
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
debris 9b535155bc fixing style 2016-11-18 00:42:31 +01:00
debris 2fd794be97 applied clippy suggestions to make code more idiomatic 2016-11-16 18:30:30 +01:00
NikVolf 1a553e2caf some verifications 2016-11-10 19:19:47 +03:00
debris 8d580471fa updated chain module to use new reader 2016-10-31 00:28:50 +01: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 ffd299f011 Merge branch 'master' into verification 2016-10-24 17:47:35 +03:00