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
Svyatoslav Nikolsky
7be6013c89
remove debug print from sync
2017-01-10 11:15:17 +03:00
Svyatoslav Nikolsky
5852074a75
fix after merge
2017-01-09 18:39:31 +03:00
Svyatoslav Nikolsky
3d57c0c55e
Merge branch 'master' into sync_clippy
2017-01-09 18:36:41 +03:00
Svyatoslav Nikolsky
fe97161092
when_transaction_double_spends_during_reorg
2017-01-09 17:35:15 +03:00
Svyatoslav Nikolsky
2aa0aa6721
fixed clippy warnings after sync refactoring
2017-01-09 12:29:34 +03:00
Svyatoslav Nikolsky
afc9c53df0
mempool double send is now checked during reorganizations
2017-01-09 11:49:04 +03:00
Svyatoslav Nikolsky
59378066b8
fixed TODOs
2016-12-27 09:33:08 +03:00
Svyatoslav Nikolsky
c23b0f55a4
sort peers by response time before sending blocks requests
2016-12-26 17:21:04 +03:00
Svyatoslav Nikolsky
40ace5b0d4
ClientCoreRef
2016-12-26 11:39:59 +03:00
Svyatoslav Nikolsky
de67bfdef6
cleaning up
2016-12-26 10:54:55 +03:00
Svyatoslav Nikolsky
e82ff34eed
fixed sync issues
2016-12-23 18:45:50 +03:00