Commit History

Author SHA1 Message Date
  draoi db92a9e3dc net: introduce HostState state machine to safely manage host activity 2 years ago
  draoi 7ec08e76b4 p2p: add is_pending() method 2 years ago
  parazyd d3fae80d5a chore: Update copyright year in license headers 2 years ago
  lunar-mining bd0c7684c8 outbound_session: replace downgrade_host() with `rejected` vector 2 years ago
  lunar-mining 3abd2c62bb net: don't hide connection upgrade inside perform_handshake_protocols() 2 years ago
  lunar-mining 736459aa51 chore: cleanup 2 years ago
  lunar-mining 96cad54d81 net: 99.9999% of the time it works 100% of the time 2 years ago
  lunar-mining fcf5a87a28 net: fix deadlock (partial fix) 2 years ago
  lunar-mining 6a39e926f1 net: prevent inbound session channels from being stored in the anchorlist 2 years ago
  lunar-mining 03ae65956a net: add peer to the anchorlist with an updated last_seen when we call p2p.store() on a connected channel 2 years ago
  lunar-mining de2fb840bf net: invoke GreylistRefinery in p2p.rs and cleanup 2 years ago
  lunar-mining c2ba96dc6f net: move GreylistRefinery and ping_node() to new hosts submodule. rename hosts.rs to hosts/store.rs. update host imports and ping_node usage 2 years ago
  x b0f334683b p2p: simplify and make safe API, and thereby fix the possibility for any deadlock to happen when using the API. 2 years ago
  parazyd b96a54bb4f net/p2p: Implement broadcast_to() when we want to broadcast to specific peers. 3 years ago
  x 08e5abb90b net: do some minor cleanup. move transport.rs into transport/ and make p2p.session_* non async functions 3 years ago
  x 5874702bce p2p channels() doesn't need to be async 3 years ago
  x 324024b83e system/net: introduce LazyWeak which simplifies parent-child hierarchies 3 years ago
  x dce54b61c3 net/outbound_session: add PeerDiscovery process to OutboundSession. Slots and PeerDiscovery communicate through CondVar 3 years ago
  x 61c269f776 net/outbound_session: start() doesnt return Err so remove error handling and result 3 years ago
  x 2db408de14 p2p: greatly simplify & delet kod. p2p doesnt need a StoppableTask - the sessions themselves create their own StoppableTasks when calling start() and yield immediately. 3 years ago
  x 21df1a2f52 add assert_err macro 3 years ago
  x d4ba515f7d net: remove p2p.run(), now we simply call p2p.start() and p2p.stop() 3 years ago
  x 3b4103e40b net: change private p2p functions to pub(crate) 3 years ago
  parazyd 0f125fa2db net: Remove async-std dependency and prefer smol. 3 years ago
  x ebe6f4e5c4 net/dnet: add outbound connected/disconnected events 3 years ago
  parazyd 017cf68480 net/p2p: Expose the dnet subscriber through a function. 3 years ago
  x e23fb30604 p2p: debug net info cleanup and add support to darkirc 3 years ago
  parazyd 50ac8bf93c net: Remove most of dnet and replace with a ChannelInfo subscriber. 3 years ago
  x d8c9f893a1 Revert "net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs." 3 years ago
  x 977f3027ff net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs. 3 years ago