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
Svyatoslav Nikolsky
c46b21ed7a
BitcoinCash: hardcoded DAA HF height
2018-01-08 19:26:06 +03:00
Svyatoslav Nikolsky
2ec29bb179
remove segwit2x
2017-12-27 09:52:57 +03:00
debris
8bae8512fb
updated dependencies
2017-11-27 11:22:51 +01:00
Svyatoslav Nikolsky
6757f546b8
fixed seednodes ports
2017-11-06 13:16:47 +03:00
Svyatoslav Nikolsky
261bd518fd
BitcoinCash: difficulty adjustment fork
2017-11-02 17:02:16 +03:00
Svyatoslav Nikolsky
6db8c5e235
changed magic for BCH network
2017-11-01 12:30:15 +03:00
Svyatoslav Nikolsky
c1cf82ffe6
Into<String> -> From<String>
2017-09-01 22:04:14 +03:00
Svyatoslav Nikolsky
e95802aad7
lost file
2017-09-01 17:15:06 +03:00
Svyatoslav Nikolsky
0fcf1fac5b
firce user to select chain on first run
2017-09-01 16:57:29 +03:00
Svyatoslav Nikolsky
fcdfae18d3
fixed merge typo
2017-09-01 14:23:41 +03:00
Svyatoslav Nikolsky
2e03cecf7b
Merge branch 'master' into a5-improve-help
2017-09-01 14:08:59 +03:00
5chdn
0635d69449
Remove default ports
2017-08-31 16:32:43 +02:00
5chdn
11de03ed6b
List APIs and default ports in CLI help.
2017-08-31 16:14:26 +02:00
5chdn
c7abdcd2af
Default to default logging sync=info
2017-08-29 15:36:26 +02:00
5chdn
f1145d58c8
Use upper-case COMMAND value
2017-08-29 15:26:44 +02:00
5chdn
f2dd7e0a08
Improve help messages
2017-08-29 15:25:08 +02:00
Nikolay Volf
d7035e235e
Merge pull request #444 from paritytech/support_segwit
...
Support SegWit && SegWit2x
2017-08-28 15:37:33 +03:00
Svyatoslav Nikolsky
c21c81abe3
rollback command implemented
2017-08-23 12:24:09 +03:00
Svyatoslav Nikolsky
42c6ca77f0
segwit2x: fork height + seednodes
2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky
d4a191aec1
segwit: initial flush
2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky
c98931868b
fixed option description
2017-08-18 10:30:19 +03:00
Svyatoslav Nikolsky
b60d431314
lost files
2017-08-14 10:24:57 +03:00
Svyatoslav Nikolsky
d59d67ecd5
Merge branch 'master' into support_uahf
2017-08-14 10:15:34 +03:00
Svyatoslav Nikolsky
46a7c4f7f2
--verification-level && --verification-edge
2017-08-10 14:54:06 +03:00
Svyatoslav Nikolsky
333edfd257
fixed compilation && grumbles
2017-08-09 16:26:21 +03:00
Svyatoslav Nikolsky
2106846e9c
uahf: modify user_agent based on selected fork
2017-08-09 14:37:35 +03:00
Svyatoslav Nikolsky
c3b36b4128
uahf: do not require to pass fork block number
2017-08-09 14:16:55 +03:00
Svyatoslav Nikolsky
127d662448
UAHF: set Services bit#5 + prefer nodes with bit#5 set
2017-08-08 12:17:36 +03:00
Svyatoslav Nikolsky
7eccf8b888
per-fork min && max block size check
2017-08-08 11:23:21 +03:00
Svyatoslav Nikolsky
e93e5ef35a
propagate ConsensusParams with ConsensusFork
2017-08-08 09:52:54 +03:00
Nicolas Ochem
e231825224
typo -replace ethereum with bitcoin
2017-07-01 19:14:36 -07:00
debris
349bde9f87
Merge branch 'master' of github.com:paritytech/parity-bitcoin into csv
2017-05-03 14:37:54 +02:00
debris
42f94e0921
updated author section in cli
2017-04-27 16:09:59 +02:00
debris
09f25c4f2f
db refactor finished
2017-04-21 15:26:19 +02:00
debris
a2d74615ed
applied review suggestions
2017-04-14 16:41:14 +02:00
debris
57fd472db8
updated dependencies
2017-04-14 12:45:04 +02:00
Svyatoslav Nikolsky
6726c04f8b
Merge pull request #397 from paritytech/cli_fix
...
fixed cli --db-cache option
2017-04-14 09:34:28 +03:00
Svyatoslav Nikolsky
ee509fd696
Sync queue improvements: maintaining proper number of active connections on p2p level [WIP] ( #396 )
...
* autoconnect on start
* proper # of outbound connections in autoconnect
* close connection to seednode after receiving addr
* fixed seednodes list
* do not connect to same IPv4 && IPv6
* disconnect from seednode when >1 addr received
2017-04-14 08:28:41 +02:00
debris
3f7aa2ab34
fixed cli --db-cache option
2017-04-14 08:25:25 +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
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
d005307db9
get rid of custom cpu pool in sync
2017-01-11 16:36:33 +03:00
Svyatoslav Nikolsky
07d4f00241
implemented blocknotify option
2017-01-10 11:58:55 +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
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
8c0a8d4c6d
fixed compiling
2016-12-15 14:36:18 +01:00