feat: introduce conway primitives (#290)

Co-authored-by: lisicky <lisicky@inbox.ru>
This commit is contained in:
Harper 2023-11-03 15:22:06 +00:00 committed by GitHub
parent fb1cc54b0c
commit bf973dff3c
19 changed files with 2419 additions and 34 deletions

View file

@ -1,5 +1,5 @@
use thiserror::Error;
use tracing::{debug, info, warn};
use tracing::{debug, warn};
use crate::miniprotocols::common::Point;
use crate::multiplexer;
@ -138,7 +138,7 @@ impl Client {
pub async fn recv_while_busy(&mut self) -> Result<HasBlocks, ClientError> {
match self.recv_message().await? {
Message::StartBatch => {
info!("batch start");
debug!("batch start");
self.0 = State::Streaming;
Ok(Some(()))
}