fix/send: fix acks, test with prng, rename some events #1044
Conversation
If we are the src and the dest handle the message that we would have sent to other peers instead of the original message.
…k-crust tests This changes the use of the CSRNG in mock-crust tests to a seeded PRNG. Failing tests cause the seed to be printed as part of the error message. Conflicts: src/mock_crust/support.rs
This records the cumulative size of all messages sent via Crust.
|
@afck: no appropriate reviewer found, use r? to override |
|
Reviewed 1 of 6 files at r3, 2 of 2 files at r4. src/core.rs, line 2359 [r4] (raw file):
maybe worth checking here if we are the first node and instead raise a Terminate event so the user running the vault can take corresponding action and not run their vault with the Comments from Reviewable |
|
Reviewed 1 of 2 files at r1, 4 of 6 files at r2, 5 of 6 files at r3. Comments from Reviewable |
|
Review status: 12 of 14 files reviewed at latest revision, 1 unresolved discussion. src/core.rs, line 2359 [r4] (raw file):
|
|
Reviewed 2 of 2 files at r5. src/core.rs, line 2374 [r5] (raw file):
we still don't call Comments from Reviewable |
|
Reviewed 1 of 1 files at r6. Comments from Reviewable |
Add the proxy to the blacklist on connect, so that the `SocketAddr` doesn't need to be saved in the `State`, and remove the proxy from the `PeerManager` in `rebootstrap`.
|
Reviewed 1 of 1 files at r7, 1 of 1 files at r8. Comments from Reviewable |
This change is