neoneo-go/pkg/syncmgr
decentralisedkev cb21c66316
Syncmgr: Implement synchronisation manager (#249)
* [syncmgr]

- Add blockmode, normal mode, headermode
- Add config file
- Add test files
- removed RequestBlocks and RequestHeaders from peers, as we will use
the peermanager for this
- OnHeaders and OnBlock in syncmgr, now return errors
- refactored all tests to use a convenience method to return a syncmgr
and testHelper
2019-03-28 21:22:17 +00:00
..
blockmode.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
config.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
headermode.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
mockhelpers_test.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
normalmode.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
syncmgr.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
syncmgr_onblock_test.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00
syncmgr_onheaders_test.go Syncmgr: Implement synchronisation manager (#249) 2019-03-28 21:22:17 +00:00