Evgenii Stratonikov
2be18f91df
util: implement io.Serializable for Uint256
2019-11-14 14:20:38 +03:00
Vsevolod Brekelov
8ee421db14
fix spelling and godoc comments
2019-10-22 17:56:03 +03:00
Roman Khimov
d1a4e43c48
io: redo Serializable to return errors in BinReader/BinWriter
...
Further simplifies error handling.
2019-09-17 13:21:52 +03:00
Roman Khimov
5bf00db2c9
io: move BinReader/BinWriter there, redo Serializable with it
...
The logic here is that we'll have all binary encoding/decoding done via our io
package, which simplifies error handling. This functionality doesn't belong to
util, so it's moved.
This also expands BufBinWriter with Reset() method to fit the needs of core
package.
2019-09-16 23:39:51 +03:00
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
6cf74e2d83
payload: fix wrong stringer impl for InventoryType
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
Evgeniy Kulikov
67cbcac643
Fix typos ( #133 )
...
* Fix typos
* revert chains/unit_testnet
* revert chains
* fix review comments (thx @AlexVanin )
2019-02-13 18:01:10 +00: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
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
Charlie Revett
dd94086a22
CircleCI 2 & Releases ( #9 )
2018-02-01 10:54:23 -08:00
anthdm
e9f9354b86
added core block type
2018-01-30 11:56:36 +01:00
anthdm
3cc2a6381b
handle inventory message.
2018-01-28 18:42:22 +01:00
anthdm
1eab73d560
port byte order to big endian
2018-01-28 11:20:42 +01:00
anthdm
9c152bae79
unmarshal addressList
2018-01-28 11:12:05 +01:00
anthdm
68088d816c
checked missing files for inventory.
2018-01-28 08:05:35 +01:00