Ori Newman
|
42e50e6dc2
|
[NOD-1191] Convert wire protocol to proto (#831)
* [NOD-1191] Convert wire protocol to 100% protobuf
* [NOD-1191] Simplify wire interface and remove redundant messages
* [NOD-1191] Map all proto to wire conversions
* [NOD-1203] Create netadapter outside of protocol manager
* [NOD-1191] Fix nil errors
* [NOD-1191] Fix comments
* [NOD-1191] Add converter interface
* [NOD-1191] Add missing GetBlockLocator message
* [NOD-1191] Change message names that starts with 'get' to 'request'
* [NOD-1191] Change message commands values
* [NOD-1191] Remove redundant methods
* [NOD-1191] Rename message constructors
* [NOD-1191] Change message commands to use iota
* [NOD-1191] Add missing outputs to protobuf conversion
* [NOD-1191] Make block header a required field
* [NOD-1191] Rename variables
* [NOD-1212] Fix test names
* [NOD-1191] Rename flow names
* [NOD-1191] Fix infinite loop
|
2020-07-30 18:19:55 +03:00 |
|
stasatdaglabs
|
6cf589dc9b
|
[NOD-1145] Normalize panics in flows (#819)
* [NOD-1145] Remove panics from regular flows.
* [NOD-1145] Remove panics from the handshake flow.
* [NOD-1045] Fix merge errors.
* [NOD-1045] Remove a comment.
* [NOD-1045] Handle errors properly in AddTransaction and AddBlock.
* [NOD-1045] Remove a comment.
* [NOD-1045] Wrap ErrPeerWithSameIDExists with ProtocolError.
* [NOD-1145] Add TODOs.
|
2020-07-26 13:46:59 +03:00 |
|
Ori Newman
|
8e1958c20b
|
[NOD-1168] Add context interfaces for flows (#808)
* [NOD-1168] Add context interfaces to flows
* [NOD-1168] Move IBD state to protocol manager
* [NOD-1168] Move ready peers to protocol manager
* [NOD-1168] Add comments
* [NOD-1168] Separate context interfaces for send and receive pings
* [NOD-1168] Add protocol shared state to FlowContext
* [NOD-1168] Fix comment
* [NOD-1168] Rename Context->HandleHandshakeContext
* [NOD-1168] Initialize readyPeers and transactionsToRebroadcast
* [NOD-1168] Rename readyPeers -> peers
|
2020-07-21 18:02:33 +03:00 |
|