Roman Khimov
aacf58c9ab
util: add 'constructors' for BinReader/BinWriter
...
And an additional BufBinWriter to ease buffer management.
2019-09-16 23:38:48 +03:00
Roman Khimov
f636bb9b6e
payload: extend headers test, add limit
...
... from _pkg.dev and drop headers parsing there.
2019-08-30 11:41:10 +03:00
Roman Khimov
459542a978
pkg/network: convert to using binaryReader/Writer
2019-08-28 19:45:17 +03:00
Anthony De Meulemeester
aa4bc1b6e8
Node improvements ( #47 )
...
* block partial persist
* replaced refactored files with old one.
* removed gokit/log from deps
* Tweaks to not overburden remote nodes with getheaders/getblocks
* Changed Transporter interface to not take the server as argument due to a cause of race warning from the compiler
* started server test suite
* more test + return errors from message handlers
* removed --race from build
* Little improvements.
2018-03-14 10:36:59 +01:00
Anthony De Meulemeester
4023661cf1
Refactor of the Go node ( #44 )
...
* added headersOp for safely processing headers
* Better handling of protocol messages.
* housekeeping + cleanup tests
* Added more blockchain logic + unit tests
* fixed unreachable error.
* added structured logging for all (node) components.
* added relay flag + bumped version
2018-03-09 16:55:25 +01:00
Anthony De Meulemeester
b6d8271b8d
Fixed header sync issue ( #17 )
...
* headers can now sync till infinity
* fixed empty hashStop getBlock payload + test
* added more test + more binary decoding/encoding
* bump version
2018-02-07 15:16:50 +01:00
Anthony De Meulemeester
628656483a
bug fixes (TCP + uint256) and started core part ( #14 )
...
* Fixed TCP read + Uint256 reversed array + started on some core pieces
* Disabled some debug output + muted test
* 0.5.0
2018-02-04 20:54:51 +01:00