cuprate/test-utils
Boog900 159c8a3b48
levin: fragmented messages (#84)
* levin: fix fragmented messages & use bitflags

* levin: add a method to fragment a message

* levin: add tests for fragmented messages and fix issues

* fix docs

* tests: don't include bytes length

* levin: add support for sending fragmented
/ dummy messages

* fmt

* add fragmented handshake tests.

* fix handshake detection when fragmented
and alt (non-monero) protocol info

* add tracing logs

* remove `already_built`, this was an old way I was thinking of sending raw buckets

* clippy

* clippy 2

* Update net/levin/src/message.rs

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

* review comments

* add timeout to tests

* Update net/levin/src/header.rs

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>

---------

Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
2024-03-05 01:29:57 +00:00
..
src levin: fragmented messages (#84) 2024-03-05 01:29:57 +00:00
Cargo.toml levin: fragmented messages (#84) 2024-03-05 01:29:57 +00:00
README.MD ci: include macos + windows (#52) 2024-02-12 13:39:15 +00:00

Test Utils

This crate contains code that can be shared across multiple Cuprate crates tests, this crate should not be included in any Cuprate crate, only in tests.

It currently contains code to spawn monerod instances and a testing network zone.