Commit Graph

220 Commits

Author SHA1 Message Date
debris 9a389f9746 bip9, bip112, bip113 2017-05-03 14:34:02 +02:00
debris 6aa78e42e1 db cache refactor in progress 2017-04-21 09:54:18 +02:00
debris 890bbb05d0 updated dependencies 2017-04-14 12:49:39 +02:00
debris 57fd472db8 updated dependencies 2017-04-14 12:45:04 +02:00
debris 1eb99cd8b9 use tempdir instead of devtools 2017-04-06 01:05:37 +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 cd5287bb2d updated parking_lot to 0.4 2017-03-26 15:17:28 +07:00
debris acb1cbdfd2 use tokio_io::AsyncRead in p2p lib 2017-03-25 16:05:49 +07:00
debris fd930306f6 updated mio to 0.6.6 2017-03-25 15:55:23 +07:00
debris 2552a04edc few more dependencies updated 2017-03-20 14:23:29 +01:00
debris 35f84b4cb9 updated tokio-core and dependant crates 2017-03-20 14:18:22 +01:00
debris 98a82ea779 updated futures and rayon crate 2017-03-20 08:37:28 +01:00
debris f193a03fd6 updated csv && byteorder libraries 2017-03-12 16:05:35 +01:00
debris 87e6e3b110 update the rest of dependencies 2017-03-07 18:11:06 +01:00
Svyatoslav Nikolsky 6f54817ff9 updated jsonrpc modules and serde from 0.8 to 0.9 2017-03-07 17:55:19 +01:00
Svyatoslav Nikolsky 19bc0b1261 updated dependencies + removed TODO 2017-01-30 12:47:20 +03:00
Svyatoslav Nikolsky ba918625d5 temporary switched to github version of tokio-core 2017-01-12 00:38:14 +03:00
NikVolf 2dd14569a5 fix depenedency 2017-01-11 11:42:51 +03:00
Nikolay Volf 6995388a7b Merge pull request #367 from ethcore/deps_up
Updated dependencies
2017-01-11 12:33:15 +04:00
Svyatoslav Nikolsky 4b2934dff3 updated dependencies 2017-01-11 09:49:56 +03:00
Svyatoslav Nikolsky 07d4f00241 implemented blocknotify option 2017-01-10 11:58:55 +03:00
NikVolf 21d326d21f change deps 2016-12-27 18:45:46 +03:00
NikVolf b65c191af0 bloom for transactions meta 2016-12-26 18:49:47 +03:00
NikVolf b9dd932983 align with crate 2016-12-26 16:00:44 +03:00
debris 76453c956e TransactionBuilder can build transaction with desired size and number of sigops 2016-12-23 12:04:04 +01:00
debris 2beb3aa7d2 updated jsonrpc libraries to latest version, support for jsonrpc v1 2016-12-20 11:42:51 +01:00
debris f1f68f497b P2shCoinbaseTransactionBuilder && Magic::Unitest && removed skip_pow from chain_verification 2016-12-15 14:27:36 +01:00
NikVolf 89b2591e6f update kvdb from parity 2016-12-14 20:59:58 +01:00
Svyatoslav Nikolsky a0193c024d Merge pull request #327 from ethcore/verification-bench
Verification benchmark
2016-12-14 15:17:45 +03: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 ce7af59ad3 hash block and transactions while reading them 2016-12-13 18:06:46 +01:00
Svyatoslav Nikolsky f14f809401 Merge branch 'master' into rpc_blockchain 2016-12-13 13:39:46 +03:00
Svyatoslav Nikolsky 9e1932e7f9 finished gettxout implementation 2016-12-12 21:49:01 +03:00
debris c59e84ebe5 Merge branch 'master' of github.com:ethcore/parity-bitcoin into block_assembler_tests 2016-12-12 15:23:18 +01:00
debris 64a3d4d080 verification refactor almost done 2016-12-12 12:04:19 +01:00
debris 1d2e0ce495 TransactionAcceptor 2016-12-11 22:31:10 +01:00
debris 0df90a85bd use rayon for parallel verification 2016-12-11 17:42:26 +01:00
Svyatoslav Nikolsky fc146bd225 continue blockchain RPCs 2016-12-10 21:24:39 +03:00
Svyatoslav Nikolsky bca86010df continue blockchain RPCs implementation 2016-12-10 18:05:03 +03:00
Svyatoslav Nikolsky 4f7d44691a Merge branch 'master' into rpc_blockchain 2016-12-10 15:52:12 +03:00
Svyatoslav Nikolsky 416ac097b5 started getblock iplementation 2016-12-10 13:50:07 +03:00
debris d8f6dbea86 use just one version of parking_lot 2016-12-10 02:07:29 +01:00
debris 3c1fd8d46a use jsonrpc-macros, fixes #277 2016-12-10 01:25:15 +01:00
debris 74ca4725ed updated dependencies and graph 2016-12-09 22:20:17 +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
Svyatoslav Nikolsky d706a8300d implemented getblocktemplate RPC method 2016-12-09 17:34:04 +03:00
Svyatoslav Nikolsky 37e4896547 Merge pull request #271 from ethcore/block_assembler
Block assembler
2016-12-09 16:12:44 +03:00
NikVolf f4690712d0 Merge branch 'master' into tx-cache 2016-12-09 13:21:44 +01:00
NikVolf bf6396f505 transaction & meta lru cache 2016-12-09 13:10:52 +01:00
debris 3080ade4bd sigops counting separated to its own module 2016-12-09 11:16:50 +01:00
debris 2c707b94c7 Merge branch 'master' of github.com:ethcore/parity-bitcoin into block_assembler 2016-12-08 21:20:59 +01:00
debris 5a1041f72a change nbits: u32 -> bits: Compact, miner uses verification 2016-12-08 21:17:28 +01:00
debris fc41aba63d fixed a couple of TODOs in block assembler 2016-12-08 20:33:10 +01:00
debris f5b1d95d2d block assembler in progress 2016-12-08 16:45:37 +01:00
Svyatoslav Nikolsky 2f0b42a5b5 Merge branch 'master' into sync_sendrawtransaction 2016-12-08 18:33:37 +03:00
Svyatoslav Nikolsky 23da291f95 accept_transaction 2016-12-08 14:48:00 +03:00
Svyatoslav Nikolsky 99aa1c2330 another porion of parity RPC copypaste 2016-12-07 16:14:52 +03:00
Svyatoslav Nikolsky 53bf8a26ac copypasted RPC framework from Parity 2016-12-07 13:30:31 +03:00
debris 323fed16f0 updated dependencies and graph 2016-12-01 11:20:10 +01:00
debris d7daed26cf basic print-to-console 2016-12-01 10:40:56 +01:00
NikVolf a17c2fe82a using task-splitter in block 2016-11-29 14:07:11 +03:00
debris bcc84f6f6f updated dependencies and graph 2016-11-28 10:37:17 +01:00
Nikolay Volf e5afbf3877 Merge pull request #202 from ethcore/sync_cmpctblk
Process cmpctblk message
2016-11-27 22:09:50 +03:00
Svyatoslav Nikolsky d331dfde32 Merge branch 'master' into sync_cmpctblk 2016-11-27 17:53:34 +03:00
debris 42ce57e6a8 fixed bip30 tests, tx finality reg tests passing 2016-11-27 15:05:49 +01:00
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
Svyatoslav Nikolsky 494ef56858 process cmpctblock message 2016-11-25 18:07:03 +03: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
Nikolay Volf 01dfe36a66 Merge pull request #187 from ethcore/sync_feefilter
Process `feefilter` message
2016-11-25 15:46:45 +03:00
NikVolf 6f6b6be083 Merge branch 'master' into pow_validation 2016-11-25 15:16:32 +03:00
NikVolf 9f4469e480 fix timestamp generation and check 2016-11-25 14:40:07 +03:00
Svyatoslav Nikolsky deb4ab7d4c Merge pull request #175 from ethcore/bencher
Dedicated bencher executable for database
2016-11-25 10:19:19 +03:00
Svyatoslav Nikolsky eb23a7d901 started work on feefilter message 2016-11-25 09:07:29 +03: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
NikVolf b19408a0a8 dedicated bencer 2016-11-24 13:18:18 +03:00
Svyatoslav Nikolsky 62d5daf29b added tests for merkleblock message 2016-11-24 12:26:37 +03:00
Nikolay Volf a961bcdbed Merge pull request #172 from ethcore/sync_filter
Sync ConnectionFilter to support `filterload`, `filteradd` && `filterclear` inf future
2016-11-23 11:55:54 +03:00
debris 961e4361cf pow validation in progress 2016-11-23 04:10:11 +01:00
Svyatoslav Nikolsky cc48f0a75f initial connection filter commit 2016-11-22 18:03:07 +03:00
NikVolf 1cbb5afcd6 build script 2016-11-22 17:14:23 +03:00
debris 695617e66f removed unused devtools 2016-11-21 18:33:08 +01:00
debris edfc13f0ba fixed interpreter OP_DUP operation, converting integers to hashes, added more traces 2016-11-21 17:05:42 +01:00
debris 389ddc5f95 fixed tools/draw_graph.sh 2016-11-16 17:51:54 +01:00
debris 163627a3cc updated dependencies and graph 2016-11-16 17:50:01 +01:00
NikVolf 3ad579ea29 proper tx sigopcounting 2016-11-14 23:56:43 +03:00
NikVolf 5fcba908f4 transaction & block sigops amount check 2016-11-14 21:18:30 +03:00
Svyatoslav Nikolsky c24af2daed fix test + process inventory 2016-11-10 15:16:16 +03:00
debris 68a3bb2d34 linting in progress 2016-11-08 16:37:06 +01:00
debris 436d925ba6 clippy lints enabled for crypto, message, p2p, pbtc, primitives and serialization 2016-11-08 11:51:34 +01:00
debris 98daea8981 updated dependencies and graph 2016-11-04 13:11:58 +01:00
Marek Kotewicz efa100a253 Merge pull request #87 from ethcore/sync_manager
Initial sync manager version
2016-11-04 13:08:09 +01:00
debris fc32423017 save node_table to $APP_DIR/p2p/nodes.csv 2016-11-04 12:08:58 +01:00
Svyatoslav Nikolsky fedb8581d2 initial sync manager version 2016-11-04 12:36:58 +03:00
debris 521482f2ec work on import command in progress 2016-11-03 17:19:35 +01:00
debris bbf887a0ad Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_multiple_connections 2016-11-03 10:48:22 +01:00
debris 67aae38673 Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_multiple_connections 2016-11-03 00:22:32 +01:00