Commit Graph

49 Commits

Author SHA1 Message Date
Jean Pierre Dudey 64461a8157 Remove `doc` profile from Cargo.toml.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2018-08-07 13:49:37 -04:00
Ivan Sorokin 310483d5ed fix app_dirs breaking change for windows 2018-05-10 12:30:05 +02:00
Ivan Sorokin 8979bdcaf7 update app_dirs to 1.2.1 2018-05-09 22:40:56 +02:00
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 890bbb05d0 updated dependencies 2017-04-14 12:49:39 +02:00
Svyatoslav Nikolsky 4cb65e3409 Added couple of debug helpers to deal with panics and segfaults (#302)
* added couple of debug helpers to deal with panics

* trying to fix compilation

* trying to fix compilation

* test

* Revert "test"

This reverts commit 6169f7e1eb5cc7b43ea2e538686cb0144bf64712.
2017-04-05 21:19:10 +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 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
Svyatoslav Nikolsky 07d4f00241 implemented blocknotify option 2017-01-10 11:58:55 +03:00
Svyatoslav Nikolsky 53bf8a26ac copypasted RPC framework from Parity 2016-12-07 13:30:31 +03:00
debris d7daed26cf basic print-to-console 2016-12-01 10:40:56 +01:00
debris 847cb36c6f chain verifier does not have hardcoded network constants 2016-11-25 18:38:21 +01:00
NikVolf b19408a0a8 dedicated bencer 2016-11-24 13:18:18 +03:00
debris 8d4e004a78 make tools/draw_graph.sh work again 2016-11-08 17:01:15 +01: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 521482f2ec work on import command in progress 2016-11-03 17:19:35 +01:00
debris 05ed9567e9 import module 2016-10-31 03:12:44 +01:00
Svyatoslav Nikolsky 6f94a91b82 added option to sync with disk database (#45) 2016-10-27 16:26:12 +02:00
Svyatoslav Nikolsky b081ca3d70 Continue synchronization protocol impl (#30)
* p2p <-> sync interfaces proposal

* updated with example

* send errors will be handled in p2p module => no need to return to the sync

* poc of outbound sync connection

* simplified send_to_peer

* context has cpu pool and enent loop handles

* on_message won't return ProtocolAction anymore

* session initialized sync protocol, remove retain cycles on P2P::drop

* removed ProtocolAction

* uncommented ping protocol

* node_table sorts nodes also by recently used time

* started work on sync package

* send getaddr on connect

* fixed node_table insert, added insert_many

* addr protocol

* sync headers response

* continue sync

* continue sync protocol

* separated sync connection start from sync connection creation

* switched to getblocks (instead of getheaders)

* starting to receive blocks in sync

* deal with orphaned blocks in sync::local_chain

* continue sync

* fix warnings

* removed TODOs

* protocol::sync is back to private state

* fixed grumbes
2016-10-24 16:38:33 +02:00
NikVolf cc8f90fc3b Merge branch 'master' into verification 2016-10-20 17:10:19 +03:00
debris 49bb034bbd added logger to p2p, fixed reading messages 2016-10-19 14:17:18 +02:00
NikVolf eaf2240e6b Merge branch 'master' into verification 2016-10-18 17:55:52 +03:00
NikVolf 2991cc6193 crate layout 2016-10-17 22:27:45 +03:00
Svyatoslav Nikolsky e3968cfa46 Merge branch 'master' into mempool 2016-10-16 21:38:04 +03:00
Svyatoslav Nikolsky 40b1241ccf initial commit for MemoryPool 2016-10-16 21:32:11 +03:00
debris 3625fb06c2 updated dependency graph 2016-10-16 11:55:42 +02:00
NikVolf deefe60a13 key-value database initial 2016-10-13 14:13:50 +03:00
debris ffcb4d5a20 improved p2p interface 2016-10-04 12:33:23 +02:00
debris 742e9a6fff improved connect in main.rs 2016-10-04 02:06:45 +02:00
debris dc21039182 net lib renamed to message 2016-10-03 16:29:07 +02:00
debris c1184e4a9b listening for incomming connections and -connect works 2016-10-03 15:44:35 +02:00
debris 0f73927e51 added testnet and seednode cli options 2016-09-30 14:59:16 +02:00
debris 2bad1fdada created [[bin]] 2016-09-30 14:44:50 +02:00
debris 2f90b65454 tokio p2p init 2016-09-21 08:54:08 +02:00
debris b8b9235c4e net lib 2016-09-19 16:13:50 +02:00
debris fdc4bfe2d7 script lib 2016-09-19 16:09:05 +02:00
debris 0edcc08ab1 keys lib 2016-09-19 15:39:57 +02:00
debris e1a9f70429 chain structures separated from core 2016-09-19 15:23:37 +02:00
debris 744c53202e serialization separated to its own lib 2016-09-19 15:15:56 +02:00
debris ed12866f2b crypto separated to its own library 2016-09-19 15:09:22 +02:00
debris 1aed7c71c5 primitives moved to standalone lib 2016-09-19 15:02:10 +02:00
debris d7f650db51 keypair 2016-08-17 15:00:47 +02:00
debris 6e310a68ac bunch of small improvements and crypto stuff 2016-08-16 18:00:26 +02:00
debris 84803655a7 SHA-256 2016-08-16 10:49:35 +02:00
debris b51f3b4c6b basic serialization 2016-08-15 14:50:20 +02:00