Commit Graph

19 Commits

Author SHA1 Message Date
Marek Kotewicz 1f4cf7e443 fixed clippy lints for miner, sync, test-data and verification (#103)
* fixed clippy lints for miner, sync, test-data and verification

* make verification check_nbtis more idiomatic
2016-11-09 11:36:52 +01:00
debris f7a73f6520 fixed clippy lints for db, keys, miner, and script 2016-11-08 21:01:36 +01:00
Svyatoslav Nikolsky 3319e5e1f5 serving mempool request 2016-11-02 15:18:52 +03: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
Svyatoslav Nikolsky 403971b314 renamed as_input to to_input 2016-10-20 18:12:32 +03:00
Svyatoslav Nikolsky e03cf06a16 test_data::ChainBuilder for generating transactions for tests 2016-10-20 17:21:28 +03:00
Svyatoslav Nikolsky 8c71468ab9 Merge branch 'master' into mempool 2016-10-19 17:15:34 +03: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
Svyatoslav Nikolsky 535dca320a get rid of macros in MemoryPool 2016-10-19 15:02:13 +03:00
Svyatoslav Nikolsky efdd30da17 implemented HeapSizeOf for MemoryPool 2016-10-19 13:07:11 +03:00
Svyatoslav Nikolsky f5205fde92 removed bench_ prefix from benchmarks functions 2016-10-19 12:46:40 +03:00
Svyatoslav Nikolsky 43a71193a0 added several benchmarks for MemoryPool 2016-10-18 19:54:55 +03:00
Svyatoslav Nikolsky bb4f771905 removed redundant type specifier 2016-10-18 15:34:39 +03:00
Svyatoslav Nikolsky c18e3b70c4 fixed merge conflicts 2016-10-18 13:40:31 +03:00
Svyatoslav Nikolsky d8d9c33e76 Merge remote-tracking branch 'origin/master' into mempool 2016-10-18 13:38:09 +03:00
Svyatoslav Nikolsky fc3a496d9b MemoryPool:
* support ByPackageScore ordering strategy
* support complex chains
* new tests
* renamed timestamp to storage_index
2016-10-18 13:36:13 +03:00
debris d87626884d Serializable trair extended with serialized_size function 2016-10-17 11:17:00 +02:00
Svyatoslav Nikolsky e247ab23b4 new tests for MemoryPool 2016-10-17 10:08:49 +03:00
Svyatoslav Nikolsky 40b1241ccf initial commit for MemoryPool 2016-10-16 21:32:11 +03:00