-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement clear packets
command
#1834
Commits on Feb 1, 2022
-
Make self immutable on some methods of Link
Mutability does not seem to be required, and this guarantees we can reuse the same Link instance for receiving and acking packets in turn.
Configuration menu - View commit details
-
Copy full SHA for 3dffc2a - Browse repository at this point
Copy the full SHA 3dffc2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fd297c - Browse repository at this point
Copy the full SHA 7fd297cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a67ec51 - Browse repository at this point
Copy the full SHA a67ec51View commit details
Commits on Feb 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5a80326 - Browse repository at this point
Copy the full SHA 5a80326View commit details
Commits on Feb 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4bb294c - Browse repository at this point
Copy the full SHA 4bb294cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d05671 - Browse repository at this point
Copy the full SHA 2d05671View commit details -
Configuration menu - View commit details
-
Copy full SHA for c00696a - Browse repository at this point
Copy the full SHA c00696aView commit details -
Interleave recv and ack in each direction
When processing pending packets for the `clear packets` command, schedule RecvPacket in both directions before proceeding with AckPacket, also in both directions. This ensures we process also the acks created by the packets just received.
Configuration menu - View commit details
-
Copy full SHA for 667faca - Browse repository at this point
Copy the full SHA 667facaView commit details
Commits on Feb 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 248940d - Browse repository at this point
Copy the full SHA 248940dView commit details
Commits on Feb 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 98b2a5c - Browse repository at this point
Copy the full SHA 98b2a5cView commit details -
Clarify help on
clear packets
commandThere is no longer a "source" chain, but we need to clarify that both directions of the channel are cleared even though only one end is used for identification.
Configuration menu - View commit details
-
Copy full SHA for df6c3d7 - Browse repository at this point
Copy the full SHA df6c3d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aef0e6a - Browse repository at this point
Copy the full SHA aef0e6aView commit details -
Improve logging in proven_packet
Use a span and KV pairs to provide the context in ChainEndpoint::build_packet_proofs, so the log event macro invocations are short and to the point.
Configuration menu - View commit details
-
Copy full SHA for 8ab1a72 - Browse repository at this point
Copy the full SHA 8ab1a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0970302 - Browse repository at this point
Copy the full SHA 0970302View commit details
Commits on Feb 11, 2022
-
Implement Link::reverse naively
This is the slowest implementation, not optimizing on any shared state or eliminating redundant checks.
Configuration menu - View commit details
-
Copy full SHA for 0521081 - Browse repository at this point
Copy the full SHA 0521081View commit details -
Add tx confirmation flag to Link::reverse
This is an option on Link::new_from_opts, so it seems logical to also make it optional on the same level API.
Configuration menu - View commit details
-
Copy full SHA for 13869cf - Browse repository at this point
Copy the full SHA 13869cfView commit details
Commits on Feb 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3f73fb9 - Browse repository at this point
Copy the full SHA 3f73fb9View commit details