Commit Graph

203 Commits

Author SHA1 Message Date
debris f669a27d06 PreviousTransactionOutputProvider refactor in progress 2016-12-10 19:47:02 +01:00
debris 40f65b28c8 make PreviousTransactionOutputProvider a part of Store 2016-12-10 18:42:16 +01:00
Svyatoslav Nikolsky bca86010df continue blockchain RPCs implementation 2016-12-10 18:05:03 +03:00
debris 087c314fd1 AsSubstore trait 2016-12-10 14:00:34 +01:00
NikVolf 08d7f0211c add chain difficulty calc 2016-12-10 12:32:04 +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
debris 14f764ebcf fixed bugs introduced during refactor 2016-12-09 18:32:28 +01:00
NikVolf e707fd73cb update review 2016-12-09 17:49:02 +01:00
debris 0811e876c0 finish indexed block refactor 2016-12-09 16:24:06 +01:00
debris df65e29658 refactor indexed_block, avoid unnecessery copying 2016-12-09 15:44:34 +01:00
NikVolf 8d9a65a85d update cache 2016-12-09 14:23:12 +01:00
NikVolf bf6396f505 transaction & meta lru cache 2016-12-09 13:10:52 +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
NikVolf 2c7eabfbae wip 2016-12-08 17:13:43 +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
Nikolay Volf 76aeb1f0ba Regtests on the CI (#244)
* submodule and test script

* proper grep pattern

* travis config

* build in advance

* remove error! and fix grep

* use intermediate file

* use package with java, not jdk

* use minimum cache

* add summary delimter

* fixed regtests broken in 9e53289

* clear output

* remove old submodule

* updating tool

* remove from .gitmodules also

* more convinient log output

* travis fold labels
2016-12-02 10:27:48 +01:00
Svyatoslav Nikolsky 11e1f8d5c8 BlockHeaderProvider 2016-12-01 14:04:40 +03:00
Svyatoslav Nikolsky 5563429a8c added TODO 2016-11-30 19:30:42 +03:00
Svyatoslav Nikolsky c01a9183ff increased MAX_FORK_ROUTE_PRESET to pass regtests 2016-11-30 19:28:03 +03:00
NikVolf 51fe9b6e01 output proxy 2016-11-30 17:19:23 +03:00
NikVolf bc46ca972c one line also 2016-11-30 15:09:56 +03:00
NikVolf e629b198c7 reversed hash in trace 2016-11-30 15:05:49 +03:00
NikVolf 0f96c0cc76 Merge branch 'master' of github.com:ethcore/parity-bitcoin 2016-11-30 13:36:51 +03:00
NikVolf 15db1424f4 fix test 2016-11-30 13:36:27 +03:00
NikVolf 62a687177c always set target 2016-11-30 13:17:51 +03:00
NikVolf 71044f208f trace only if target is set 2016-11-30 13:06:26 +03:00
NikVolf 9fcfe7dee2 db traces 2016-11-30 12:43:49 +03:00
Svyatoslav Nikolsky bd07583fb9 Merge pull request #223 from ethcore/sync_small_todos
Fixing sync TODOs
2016-11-29 21:18:13 +03:00
Svyatoslav Nikolsky a967e7960c fixing sync TODOs 2016-11-29 19:39:00 +03:00
debris 7270bba43c verification flags 2016-11-29 17:03:59 +01:00
debris 440dae5a8e use Vec::get instead if iter().nth 2016-11-29 16:19:54 +01:00
debris b90d3eebcf Merge branch 'master' into previous_transaction_output_provider 2016-11-29 16:15:46 +01:00
NikVolf eb808f7449 rollback function for storage 2016-11-29 17:24:04 +03:00
debris 65664556b6 initial work on b82, abstraction for verify_transaction, use PreviousTransactionOutputProvider 2016-11-29 14:40:55 +01:00
NikVolf a17c2fe82a using task-splitter in block 2016-11-29 14:07:11 +03:00
NikVolf d5f454c89d with_capacity 2016-11-28 16:47:01 +03:00
NikVolf 32e21d6e37 ongoing sync refactoring 2016-11-28 15:55:00 +03:00
NikVolf 67e64a5391 verificatino uses indexed blokcs 2016-11-27 23:49:51 +03:00
NikVolf 6067d9996f storage insert works with indexed blocks 2016-11-27 22:01:12 +03:00
debris 9d0d251a37 few functions are more idiomatic, initial support for bip30 2016-11-26 15:05:54 +01:00
debris 7f07b60a85 fix english naming 2016-11-26 13:07:50 +01:00
Marek Kotewicz 5b3e34715f Merge pull request #177 from ethcore/pow_validation
pow and timestamp median validation
2016-11-25 15:07:20 +01:00
Svyatoslav Nikolsky e3f0878283 transaction_fee_rate now takes &TransactionProvider 2016-11-25 10:39:56 +03:00
debris 355306e747 retarget 2016-11-24 23:33:51 +01:00
NikVolf 34a582b8e9 expected nbits method & support 2016-11-22 18:26:00 +03:00
Marek Kotewicz c988a346e9 Merge pull request #162 from ethcore/db
fix iterator in indexed blocks
2016-11-21 17:51:43 +01:00
NikVolf f95e7da2fb fix iterator 2016-11-21 19:38:42 +03: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
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