5chdn
8fbdf6021d
Rename ConsensusFork::NoFork to ::BitcoinCore
2018-04-16 12:25:35 +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
Tomas Korcak
03a99de2f3
Update rand 0.3 -> 0.4
2018-02-05 15:25:36 +01:00
Svyatoslav Nikolsky
c46b21ed7a
BitcoinCash: hardcoded DAA HF height
2018-01-08 19:26:06 +03:00
Svyatoslav Nikolsky
f019ad62ac
fixed BoxFuture-related warnings
2017-12-27 15:33:05 +03:00
Svyatoslav Nikolsky
d9e260c218
fixed warnings in tests
2017-11-06 18:33:24 +03:00
Svyatoslav Nikolsky
47bb353a05
fixed new compiler version warnings
2017-11-06 18:06:12 +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
765680a521
use deployments cache in sync
2017-08-31 15:30:47 +03: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
65e1ec068c
moved inv_type out of the loop
2017-08-28 09:14:55 +03:00
Svyatoslav Nikolsky
6486cc77d6
only cleanup orphaned blocks when not in synchronization state
2017-08-24 16:33:37 +03:00
Svyatoslav Nikolsky
b791b92414
add script error to TransactionError::Signature
2017-08-23 17:26:19 +03:00
Svyatoslav Nikolsky
062a68204c
segwit: sync changes
2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky
bda2277b71
segwit: added sync TODOs
2017-08-22 14:40:04 +03:00
Svyatoslav Nikolsky
d4a191aec1
segwit: initial flush
2017-08-22 14:39:10 +03:00
Svyatoslav Nikolsky
d2acccd1bc
Merge pull request #434 from paritytech/support_uahf
...
Support Bitcoin Cash
2017-08-22 14:38:22 +03:00
Svyatoslav Nikolsky
2d801d504e
fix panic in orphan transaction pool
2017-08-21 13:07:42 +03:00
Afri
b2faa05ee7
Improved logging to console ( #440 )
...
* Remove redundant timestamp.
* Measure block processing in the logs
* Use tabs to separate status.
* Show updates every 1000 blocks.
* Reword some warnings.
* Add some color to log level.
* Reduce code redundancy
* No need to specify the type for blocks_speed
* Utilize the return value of match.
* Count all peers.
* Add whitespaces
* Remove another redundant timestamp
* One item per line
* Use tabs not spaces
* Remove unused import
* Remove redundant time imports
* Paint it black.
2017-08-17 22:45:36 +02: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
5d5a6d715c
lost line
2017-08-11 11:48:26 +03:00
Svyatoslav Nikolsky
b33e327d32
do not close connection on notfound if not synchronizing
2017-08-11 11:27:31 +03:00
Svyatoslav Nikolsky
28f4cda92d
added hardocded (min, max) requested blocks switch
2017-08-11 11:12:47 +03:00
Svyatoslav Nikolsky
72c3408b8f
fixed node penalizing
2017-08-11 11:05:34 +03:00
Svyatoslav Nikolsky
0e9b5fd89e
merge good changes from sync_queue branch
2017-08-10 17:44:01 +03:00
Svyatoslav Nikolsky
46a7c4f7f2
--verification-level && --verification-edge
2017-08-10 14:54:06 +03:00
Svyatoslav Nikolsky
4a37e74444
uahf: renamed magic -> network
2017-08-09 14:40:03 +03:00
Svyatoslav Nikolsky
bcdc1e6813
uahf: REQ-7 difficulty adjustment
2017-08-08 18:33:55 +03:00
Svyatoslav Nikolsky
6110d94544
uahf: block sigops check
2017-08-08 13:45:39 +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
Svyatoslav Nikolsky
976dfea64e
fixed bloom indexing
2017-05-18 10:11:03 +03:00
debris
09f25c4f2f
db refactor finished
2017-04-21 15:26:19 +02:00
Svyatoslav Nikolsky
11c6411a41
Merge pull request #394 from paritytech/consolidate
...
Consolidate database traits
2017-04-10 08:03:28 +03:00
debris
0155c6e4ef
revert is_double_spent -> is_spent
2017-04-09 14:10:40 +08:00
debris
21fdfabb0e
consolidated TransactionOutputProvider and TransactionOutputObserver
2017-04-07 12:54:40 +07:00
debris
2074076c41
simplify verification code
2017-04-07 11:46:20 +07:00
debris
fc3b2a13bf
removed redundant StorageTransactionOutputProvider, clarified bip30
2017-04-06 22:37:57 +07: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
debris
cd5287bb2d
updated parking_lot to 0.4
2017-03-26 15:17:28 +07:00
debris
f193a03fd6
updated csv && byteorder libraries
2017-03-12 16:05:35 +01:00
Svyatoslav Nikolsky
ba918625d5
temporary switched to github version of tokio-core
2017-01-12 00:38:14 +03:00
Svyatoslav Nikolsky
3bbd71009d
removed unneeded config option
2017-01-11 16:39:54 +03: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