Egon Elbre
7a80e7bf2f
Use testplanet in node tests ( #841 )
2018-12-12 17:40:33 +02:00
Dennis Coyle
e7e0d1daaa
Coyle/disable mock ( #627 )
...
* disabled mock overlay from captplanet
2018-11-20 11:54:52 -05:00
Dennis Coyle
d2933840d2
RPC Ping Request/Response ( #544 )
...
* Creates an RPC Ping method on the Node server
* adding Ping method to mockNodeServer implementation
* Remove the line skipping the Ping Test
2018-10-30 14:04:29 -04:00
Dennis Coyle
3b7b2afb1f
Added ping support to node client ( #491 )
...
* added ping support to node client
* Added tests to Ping
* Added connection creation responsibility to Connection Pool
2018-10-26 12:38:22 -04:00
Jennifer Li Johnson
8d779d3d3e
Disconnects nodeclient, routing table dbs when done with kademlia ( #507 )
...
* disconnect from nodeclient
* cleanup connections in tests
* kademlia disconnects from nodeclient
* updating disconnect method for mocks
* creates separate disconnect and removeAll methods for tests
* adds init to connection pool
* fix folder cleanup and disconnect
* creates and cleans up test db files and disconnects kad
* removes db/.keep
* includes disconnect within cleanup methods
* creates public init method on connection pool to handle mutex copy issues
* remove all after disconnect
* pair creation and destruction
* checks disconnect error
* remove ctx
* fixes mock kad
2018-10-26 10:07:02 -04:00
Bill Thorp
cb454638d9
moved poll, removed ctx params ( #531 )
...
* moved poll, removed ctx params
2018-10-25 12:11:50 -04:00
Dennis Coyle
dee2c137c8
Remove BKAD dependency from pkg/kademlia ( #294 )
...
* slowly but surely
* hardcode ID for tests so we can get predictable results
* skipping bad test
* removing tests of bkad
* wip
* new algorithm for worker
* clean up
* remove skipped test
* changes
* uncomment
* fixed conflicts
* maybe done ?
* cleanup
* boot bkad
* wip
* cleanup
* undo change
* fixes
* wip
* wip
* moving nodeID around
* wip
* wip
* fixes
* fixes after merge
* added TODO
* fixed tests post identity
* linter fixes
* wip
* PR review comments
* wip
* fixing tests
* fix tests
* force db directory
* bad test
* fixes race condition
* small cleanups
* adding db folder
* testing
* wip
* cleanup
* cleanup
* linters
* export Restrict
* add timeout
* testing
* linters
* forgot one
* moar fixes from master merge
* PR comments
* moar PR comments
* removed stun flag
* remove duplicate declaration
* remove old tests
* remove timeout
* fix tests
* missed one
* changed StringToID >> IDFromString
* PR comments
* stupid linter
* moevd overlay mock
* fixed merge conflicts
* fixes
* linter
2018-10-08 11:09:37 -04:00
Egon Elbre
b6b6111173
Flatten proto definitions into a single package ( #360 )
...
* protos: move streams to pb
* protos: move overlay to pb
* protos: move pointerdb to pb
* protos: move piecestore to pb
* fix statdb import naming
2018-09-18 07:39:06 +03:00
Jennifer Li Johnson
154a1eab3a
implements node pkg query method ( #251 )
2018-08-23 11:20:11 -04:00
Jennifer Li Johnson
91bf6e19e8
Routing Table Replacement Cache ( #229 )
...
* creating replacement cache
* wip
* wip
* rewrites replacement cache
* replacement cache tests
* update and remove node tests
* check if dropped node got added to replacement cache from add node method
* wip
* wip
* making changes based on pr
2018-08-17 15:11:46 -04:00
Dennis Coyle
ea077e4dcb
node-node communication ( #145 )
...
* node-node communication
* PR reviews comments from @bryanchriswhite addressed
2018-07-19 10:48:08 -04:00