Robert Habermeier
4f1afccf97
best_block_header function
2017-02-13 16:51:40 +01:00
Robert Habermeier
325c6aaf6a
verify raw transactions against Engine
2017-02-09 19:58:29 +01:00
Robert Habermeier
baf0dbc6bf
LightProvider struct using light transaction queue
2017-02-09 18:42:18 +01:00
Robert Habermeier
028dbe5fe2
rename get_header to block_header by convention
2017-02-08 20:22:41 +01:00
Robert Habermeier
197695414e
correct ready transaction condition
2017-02-04 17:19:39 +01:00
Robert Habermeier
484b93abdc
Merge branch 'cht-td' into lightrpc
2017-02-04 17:14:47 +01:00
Robert Habermeier
02142e3a57
Merge branch 'master' into cht-td
2017-02-03 19:56:52 +01:00
Robert Habermeier
e874df5155
hide CHT internals from header chain
2017-02-03 19:50:23 +01:00
Arkadiy Paronyan
312aa72747
Transaction timestamp condition ( #4419 )
...
* Transaction timestamp condtiion
* Updated docs
* Updated docs
* Check agains last block timestamp
2017-02-03 19:32:10 +01:00
Robert Habermeier
1dc957e3a5
allow genesis block to be latest
2017-02-03 16:11:09 +01:00
Robert Habermeier
83de16da88
use encoded::Header in HeaderChain
2017-02-03 15:32:22 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Robert Habermeier
a791cb50a6
Light protocol syncing improvements ( #4212 )
...
* remove old lint silencer
* dispatch requests only to peers with higher TD
* dynamic target for sync rounds
* use round pivots instead of frames, fix test
* fix total difficulty calculation for test client
* fix broken reorg algorithm
* fork test, fix ancestor search
2017-01-20 12:41:59 +01:00
Robert Habermeier
31aae4ed78
move cht module up a level
2017-01-16 16:55:23 +01:00
Robert Habermeier
7123f19a75
Test harness for lightsync ( #4109 )
...
* make on_connect/disconnect public
* free flow params constructor
* Shared ownership of LES handlers
* light provider impl for test client
* skeleton for testing light sync
* have test_client use actual genesis
* fix underflow in provider
* test harnesses for lightsync
* fix tests
* fix test failure caused by test_client changes
2017-01-11 14:39:03 +01:00
Robert Habermeier
e6324a83f1
Merge branch 'master' into lightsync
2016-12-28 15:53:11 +01:00
Robert Habermeier
55dbfbf35b
address grumbles
2016-12-27 12:24:18 +01:00
Robert Habermeier
0688ccb003
chain_mem_used function on client
2016-12-23 14:54:31 +01:00
Robert Habermeier
bdf90df56f
client report and heap size for header chain
2016-12-23 14:50:42 +01:00
Robert Habermeier
01b494ca2c
Merge branch 'master' into lightsync
2016-12-21 13:42:07 +01:00
Robert Habermeier
a48435ca60
Merge branch 'master' into lightsync
2016-12-19 13:15:37 +01:00
Robert Habermeier
2c0f456e4d
guard import order
2016-12-16 23:53:20 +01:00
Robert Habermeier
5346539ef8
minimal header import and client service
2016-12-15 18:47:26 +01:00
Robert Habermeier
0768a61944
light: add LightChainClient trait
2016-12-14 23:26:15 +01:00
Robert Habermeier
6fb71527e4
light: search for common ancestor with peers
2016-12-13 21:09:57 +01:00
Robert Habermeier
484023b171
light: max requests as 0 on unknown peer
2016-12-13 20:13:55 +01:00
Robert Habermeier
2a01b43bd1
light: block status and CHT module
2016-12-13 20:13:16 +01:00
Robert Habermeier
45ef986c04
light: finish basic header chain and add tests
2016-12-13 14:48:03 +01:00
Robert Habermeier
4173ecf2a5
light: begin header chain
2016-12-12 22:59:05 +01:00