Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add the concept of message channels to the node. #1837
All transport related code is in the node/transport directory.
Tests and node on live runs fine in my testing so far.
A couple of questions:
a) Since the type is now named
b) For code like below, I wonder if
(These cases are currently UDP-only, so no issue right now)
Yes I'll change the references from sink to channel.
The TCP operations will need to be queued yes, the existing code self-limited so there were never overlapping write operations but to make it more generic it should be queued and queue length limited.
We'll also have to devise some way for the bootstrap operations to lock the channel while their operation is being performed since they're not message-length operations.