Commit Graph

91 Commits

Author SHA1 Message Date
Aleksey Sidorov f120076cab Make parity-bitcoin usable for spv validation
- In this PR I extract from the crate `db` to the new `storage` crate all traits that is not specifically related to the concrete implementation of database. So I now can use `verification` crate without `rocksdb` dependency.

- Also I modify the `HeaderAcceptor` so that can be constructed without the private `BlockDeployments`.
2018-03-09 15:45:07 +03:00
Tomas Korcak b84f4dcc29
Update log 0.3 -> 0.4, env_logger 0.4 -> 0.5 2018-02-09 16:50:28 +01:00
debris 8bae8512fb updated dependencies 2017-11-27 11:22:51 +01:00
Svyatoslav Nikolsky 6db8c5e235 changed magic for BCH network 2017-11-01 12:30:15 +03:00
5chdn e6cadced03
Fix typos in rpc docs. 2017-08-31 16:14:04 +02:00
Svyatoslav Nikolsky d4a191aec1 segwit: initial flush 2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky 045603c84a fixed warnings 2017-08-02 11:50:08 +03:00
Svyatoslav Nikolsky 07f260b600 update dependencies 2017-08-02 11:38:08 +03:00
Nicolas Ochem c3172a71a1 add tests 2017-07-02 14:30:10 -07:00
Nicolas Ochem e628885a00 implement getblockcount api command
https://chainquery.com/bitcoin-api/getblockcount
2017-07-02 13:55:50 -07:00
debris e51b34ef4d keys::Address remote serialization 2017-05-06 17:55:17 +02:00
debris c20a4e505a updated serde to version 1.0 2017-05-05 14:36:54 +02:00
debris 9a389f9746 bip9, bip112, bip113 2017-05-03 14:34:02 +02:00
debris 57fd472db8 updated dependencies 2017-04-14 12:45:04 +02:00
debris 16fc1c01af test-data is only a dev-dependency, closes #390 2017-04-06 01:19:19 +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 6f54817ff9 updated jsonrpc modules and serde from 0.8 to 0.9 2017-03-07 17:55:19 +01:00
NikVolf b9dd932983 align with crate 2016-12-26 16:00:44 +03:00
debris 10c9b2e546 jsonrpc v1 enabled 2016-12-20 11:51:50 +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
Svyatoslav Nikolsky d1a28b0676 fixed compilation 2016-12-14 18:20:08 +03:00
Svyatoslav Nikolsky 424d582f85 createrawtransaction RPC completed 2016-12-14 18:00:22 +03:00
Svyatoslav Nikolsky e09401c7e9 Merge branch 'master' into rpc_raw_continue 2016-12-14 14:36:31 +03:00
debris a0fd492797 Merge branch 'master' of github.com:ethcore/parity-bitcoin into read_and_hash 2016-12-13 21:19:51 +01:00
debris 7baaa47b8c import is hashing blocks when reading, added --skip-verification flag 2016-12-13 20:49:41 +01:00
Nikolay Volf a9c897ec7b Merge pull request #321 from ethcore/network-rpc-cont-2
JSON RPC - getconnectioncount method
2016-12-13 20:08:22 +01:00
Nikolay Volf 8e5290d640 Merge pull request #320 from ethcore/network-rpc-cont
JSON RPC - getaddednodeinfo method
2016-12-13 20:07:58 +01:00
NikVolf c216d12d34 connection count method 2016-12-13 16:54:56 +01:00
NikVolf 5f7ef32cce fix example 2016-12-13 16:20:11 +01:00
Svyatoslav Nikolsky da5fb2d0d2 flush 2016-12-13 18:16:48 +03:00
NikVolf f206634ce8 finalizing jsonrpc 2016-12-13 15:30:08 +01:00
Svyatoslav Nikolsky 6bccd1cb38 used TransactionOutputs in traits 2016-12-13 16:58:03 +03:00
Svyatoslav Nikolsky ea0727a4de Merge branch 'master' into rpc_raw_continue 2016-12-13 16:51:02 +03:00
NikVolf 92b103deb8 p2p api changes 2016-12-13 14:23:16 +01:00
Svyatoslav Nikolsky d7f2828597 TransactionOutputs struct 2016-12-13 15:36:35 +03:00
NikVolf 1f75bbcb1f json-rpc layout 2016-12-13 13:17:57 +01:00
Svyatoslav Nikolsky 9ff3879e20 added curl examples for RPCs 2016-12-13 14:26:16 +03:00
Svyatoslav Nikolsky 3b31ef9216 fixed compilation 2016-12-13 14:03:55 +03:00
NikVolf 7b1e7eec2f Merge branch 'master' into network-rpc-cont 2016-12-13 11:49:07 +01:00
NikVolf 1930d83485 rpc method stub 2016-12-13 11:44:06 +01:00
Svyatoslav Nikolsky 6137914bc6 fix after merge 2016-12-13 13:42:39 +03:00
Svyatoslav Nikolsky f14f809401 Merge branch 'master' into rpc_blockchain 2016-12-13 13:39:46 +03:00
Svyatoslav Nikolsky 89290a05a5 fix after merge 2016-12-13 13:34:42 +03:00
Svyatoslav Nikolsky 3cc7ec96d1 Merge branch 'master' into rpc_raw_continue 2016-12-13 13:32:37 +03:00
Svyatoslav Nikolsky 59aad9ec30 continue work on 'raw' RPC methods 2016-12-13 13:27:45 +03:00
debris 7282921bf5 Merge branch 'master' of github.com:ethcore/parity-bitcoin into block_assembler_tests 2016-12-13 10:26:18 +01:00
NikVolf 2379bd1831 update error codes 2016-12-13 00:09:10 +01:00
Svyatoslav Nikolsky 7bed77ba7b fix compilatio 2016-12-12 23:34:52 +03:00