stasatdaglabs
5d5a0ef335
[NOD-1153] Remove redundant maps from NetAdapter ( #817 )
...
* [NOD-1153] Remove redundant maps from NetAdapter.
* [NOD-1153] Fix a comment.
* [NOD-1153] Fix a comment.
2020-07-23 12:07:53 +03:00
stasatdaglabs
8fdb5aa024
[NOD-1123] Implement banning ( #812 )
...
* [NOD-1123] Bubble bad-message errors up to the protocol level.
* [NOD-1123] Implement Banning.
* [NOD-1123] Properly use &stopped.
* [NOD-1123] Ban by IP rather than IP and port.
* [NOD-1123] Don't initiate connections to banned peers.
* [NOD-1123] Fix infinite loop in checkOutgoingConnections.
* [NOD-1123] Fix bannedAddresses key.
* [NOD-1123] Rename onBadMessageHandler to onInvalidMessageHandler.
2020-07-23 10:47:28 +03:00
stasatdaglabs
3d45c8de50
[NOD-1130] Integrate RPC with the new architecture ( #807 )
...
* [NOD-1130] Delete rpcadapters.go.
* [NOD-1130] Delete p2p. Move rpc to top level.
* [NOD-1130] Remove DAGParams from rpcserverConfig.
* [NOD-1130] Remove rpcserverPeer, rpcserverConnManager, rpcserverSyncManager, and rpcserverConfig.
* [NOD-1130] Remove wallet RPC commands.
* [NOD-1130] Remove wallet RPC commands.
* [NOD-1130] Remove connmgr and peer.
* [NOD-1130] Move rpcmodel into rpc.
* [NOD-1130] Implement ConnectionCount.
* [NOD-1130] Remove ping and node RPC commands.
* [NOD-1130] Dummify handleGetNetTotals.
* [NOD-1130] Add NetConnection to Peer.
* [NOD-1130] Fix merge errors.
* [NOD-1130] Implement Peers.
* [NOD-1130] Fix HandleGetConnectedPeerInfo.
* [NOD-1130] Fix SendRawTransaction.
* [NOD-1130] Rename addManualNode to connect and removeManualNode to disconnect.
* [NOD-1130] Add a stub for AddBlock.
* [NOD-1130] Fix tests.
* [NOD-1130] Replace half-baked contents of RemoveConnection with a stub.
* [NOD-1130] Fix merge errors.
* [NOD-1130] Make golint happy.
* [NOD-1130] Get rid of something weird.
* [NOD-1130] Rename minerClient back to client.
* [NOD-1130] Add a few fields to GetConnectedPeerInfoResult.
* [NOD-1130] Rename oneTry to isPermanent.
* [NOD-1130] Implement ConnectionCount in NetAdapter.
* [NOD-1130] Move RawMempoolVerbose out of mempool.
* [NOD-1130] Move isSynced into the mining package.
* [NOD-1130] Fix a compilation error.
* [NOD-1130] Make golint happy.
* [NOD-1130] Fix merge errors.
2020-07-22 10:26:39 +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