feat(miniprotocols): Implement tx submission client (#220)
* feat(miniprotocols): Implement tx submission client * Match CDDL specs * Fix build errors * Add server implementation for txsubmission Also includes some documentation for how to use both the client and the server * cargo fmt * clippy suggestions clippy pls * Fail explicitly on missing n2c unix socket --------- Co-authored-by: Pi Lanningham <pi@sundaeswap.finance>
This commit is contained in:
parent
e5d8950e9f
commit
6a3679dcda
19 changed files with 785 additions and 355 deletions
|
|
@ -13,7 +13,7 @@ impl<'b, C, const N: usize> minicbor::Decode<'b, C> for SkipCbor<N> {
|
|||
) -> Result<Self, minicbor::decode::Error> {
|
||||
{
|
||||
let probe = d.probe();
|
||||
println!("skipped cbor value {}: {:?}", N, probe.datatype()?);
|
||||
println!("skipped cbor value {N}: {:?}", probe.datatype()?);
|
||||
}
|
||||
|
||||
d.skip()?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue