Svyatoslav Nikolsky
c24af2daed
fix test + process inventory
2016-11-10 15:16:16 +03: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
98daea8981
updated dependencies and graph
2016-11-04 13:11:58 +01:00
Marek Kotewicz
efa100a253
Merge pull request #87 from ethcore/sync_manager
...
Initial sync manager version
2016-11-04 13:08:09 +01:00
debris
fc32423017
save node_table to $APP_DIR/p2p/nodes.csv
2016-11-04 12:08:58 +01:00
Svyatoslav Nikolsky
fedb8581d2
initial sync manager version
2016-11-04 12:36:58 +03:00
debris
521482f2ec
work on import command in progress
2016-11-03 17:19:35 +01:00
debris
bbf887a0ad
Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_multiple_connections
2016-11-03 10:48:22 +01:00
debris
67aae38673
Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_multiple_connections
2016-11-03 00:22:32 +01:00
debris
448259328d
connect to multiple nodes automatically
2016-11-03 00:22:23 +01:00
Svyatoslav Nikolsky
3319e5e1f5
serving mempool request
2016-11-02 15:18:52 +03:00
Svyatoslav Nikolsky
0b212ec5eb
Serving some sync requests ( #73 )
...
* started work on synchronization_server
* continue synchronization server
* added response to getblocks message
* renamed Synchronization to Client
* LocalNode parametrized by Server
* LocalNode parametrized by Client
* fixed test
* support connect to given port via command line
* fixed couple of sync server issues && added sync server trace
* fixing sync issues
* fixed grumbles
2016-11-02 11:15:37 +01:00
debris
05ed9567e9
import module
2016-10-31 03:12:44 +01:00
debris
bcdbaf4a10
Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_tests
2016-10-30 11:44:18 +01:00
debris
b32bf9f29f
handshake tests
2016-10-30 11:44:10 +01:00
Svyatoslav Nikolsky
68ddc7fa88
Async verification ( #54 )
...
* async verifying
* lost file
* removed debug timer
* fixed compilation && tests
* fixed typo
* async verification refactoring
* fixed sync stall
* fixed dead_code warning
* get rid of extra locks
* fixed tests
* * separated tasks executor from sync node
* local node mutex removed
2016-10-29 11:52:40 +02:00
debris
870ed917d7
updated dependencies and graph
2016-10-28 11:11:42 +02:00
Svyatoslav Nikolsky
6f94a91b82
added option to sync with disk database ( #45 )
2016-10-27 16:26:12 +02:00
NikVolf
93b765d8ea
u32 everywhere
2016-10-26 23:58:19 +03:00
Svyatoslav Nikolsky
98803d6afe
integrating sync module with db && verification
2016-10-26 15:56:52 +03:00
debris
e1e532d5a6
updated dependencies and graph
2016-10-25 10:07:25 +02:00
Marek Kotewicz
6ac07659b6
seednodes dns lookup ( #34 )
...
* fixed compile error after merging 29 & 30
* dns lookup
* connect to seednode
2016-10-25 09:55:43 +02:00
Nikolay Volf
fa4cd03713
Basic chain verifier ( #28 )
...
* redundant spaces
* chain verifier stub
* test storage stub
* test storage -a
* iteration test layout
* flush work
* nbits check
* age & coinbase
* utils mod
* fix warnings
* transaction verification
* merkle root
* first tx test
* use all
* test storage to db
2016-10-24 17:58:38 +03: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
Marek Kotewicz
02816aaa4e
addr protocol && start of sync protocol ( #25 )
...
* 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
* send getaddr on connect
* fixed node_table insert, added insert_many
* addr protocol
* added TODO: remove
2016-10-24 10:42:11 +03:00
Nikolay Volf
eb6c0aefa7
Merge pull request #20 from ethcore/test_data_framework
...
test_data::ChainBuilder for generating transactions in tests
2016-10-20 18:23:11 +03:00
debris
9e29355cca
updated dependencies and graph
2016-10-20 16:28:49 +02:00
Svyatoslav Nikolsky
e03cf06a16
test_data::ChainBuilder for generating transactions for tests
2016-10-20 17:21:28 +03:00
NikVolf
cc8f90fc3b
Merge branch 'master' into verification
2016-10-20 17:10:19 +03:00
NikVolf
5405282e8d
Merge branch 'master' into test-crate
2016-10-20 17:03:26 +03:00
debris
b6584cd2ce
Merge branch 'master' of github.com:ethcore/parity-bitcoin into p2p_logging
2016-10-19 15:45:26 +02:00
Marek Kotewicz
92ede43e16
Merge pull request #16 from ethcore/mempool_heapsize
...
Implemented HeapSizeOf trait for MemoryPool
2016-10-19 15:43:30 +02:00
debris
49bb034bbd
added logger to p2p, fixed reading messages
2016-10-19 14:17:18 +02:00
NikVolf
cb7766ddd6
more tests
2016-10-19 14:39:58 +03:00
NikVolf
9f49d0c505
Merge branch 'test-crate' into verification
2016-10-19 13:33:18 +03:00
Svyatoslav Nikolsky
efdd30da17
implemented HeapSizeOf for MemoryPool
2016-10-19 13:07:11 +03:00
NikVolf
729c920cc4
test data crate
2016-10-18 18:23:40 +03:00
NikVolf
eaf2240e6b
Merge branch 'master' into verification
2016-10-18 17:55:52 +03:00
NikVolf
e50402fb14
basic processing
2016-10-18 16:53:59 +03:00
debris
f61f6de84c
Merge branch 'master' into p2p
2016-10-18 01:46:03 +02:00
NikVolf
2991cc6193
crate layout
2016-10-17 22:27:45 +03:00
debris
f7bfa16195
p2p in progress
2016-10-17 10:52:15 +02: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
8666aae12b
Merge branch 'master' into db-store
2016-10-15 12:31:27 +03:00
debris
4bb9726d09
fixed linking parking_lot, remove wildcard imports
2016-10-14 15:02:04 +02:00
debris
47d7149909
Merge branch 'master' into db-kvdb
2016-10-14 14:56:09 +02:00
debris
4b0af4f249
updated dependencies
2016-10-14 11:08:39 +02:00
NikVolf
ae2c081c2e
more storage methods
2016-10-13 22:06:18 +03:00
NikVolf
e3659e44f7
store trait
2016-10-13 15:06:12 +03:00
NikVolf
deefe60a13
key-value database initial
2016-10-13 14:13:50 +03:00
debris
67309678c0
removed printlns, updated deps
2016-10-13 09:23:37 +02:00
debris
25c7d20c1e
p2p module in progress
2016-10-12 19:39:50 +02:00
debris
5169ea0016
p2p module in progress
2016-10-12 14:30:50 +02:00
debris
c0448f3110
p2p streams...
2016-10-05 17:23:50 +02: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
e8de78bc0b
few more message types
2016-10-03 23:36:22 +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
3fd20db47a
connect future
2016-09-30 14:22:18 +02:00
debris
92a24417fa
p2p rand and time utils
2016-09-29 19:30:17 +02:00
debris
b33be279e0
validating message checksum
2016-09-29 18:53:18 +02:00
debris
5a535cf03c
first correct handshake
2016-09-29 17:09:15 +02:00
debris
294cb68002
cargo update
2016-09-29 00:10:22 +02:00
debris
2f90b65454
tokio p2p init
2016-09-21 08:54:08 +02:00
debris
40b8af572f
checksum moved to crypto lib, added message struct to net lib
2016-09-19 19:19:04 +02:00
debris
7b1983013d
inventory vector
2016-09-19 18:36:48 +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
4cca459d94
updated dependencies, added Cargo.lock
2016-09-15 13:25:04 +02:00