Repository navigation
Move node.py to the windowed custody chain - #17
Open
Volyarosh94 wants to merge 1 commit into
Open
Volyarosh94 wants to merge 1 commit into
Volyarosh94 wants to merge 1 commit into
Conversation
Author
|
Needs offworldlabs/retina-server#687 to be verified end to end; it talks to a server that accepts the windowed CHAIN_ENTRY. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
DETECTIONwithdata: frame) and feed them toHashChainBuilder.add_detection(frame). Each closed window, from that call, the 60 s check or shutdown, goes out asCHAIN_ENTRYwith its batch.PacketSigner,close_hourand the manual TSA stitching are gone.--tsaturns on TSA and OpenTimestamps (off by default).--chain-window-ssets the window, 900 s by default.coverage_data/chains/<node_id>next to the keys, andcoverage_data/is now ignored.CHAIN_ENTRY_ACKverdicts, and the handshake prints the real KEY_ACK status.Calls I made
CHAIN_ENTRYline that would go over the server's 1 MiB TCP line limit is sent without its batch, and the server recordsbatch_verified: null. At 15-minute windows that is most adsb and anomalous windows.select, so a near-1 MiB send isn't cut by a read timeout.Tested
pre-commit and pytest green (241); against a local retina-server over TCP at 30 s windows every window was acked verified with its batch, including after a restart inside a window.