Release 0.6.1
pallas-primitives@0.6.1 Generated by cargo-workspaces
This commit is contained in:
parent
fab029c802
commit
3b9c81e6a0
2 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
use net2::TcpStreamExt;
|
use net2::TcpStreamExt;
|
||||||
|
|
||||||
use pallas::{
|
use pallas::{
|
||||||
ledger::primitives::{byron::Block, Fragment},
|
ledger::primitives::{alonzo::BlockWrapper, byron::Block, Fragment},
|
||||||
network::{
|
network::{
|
||||||
miniprotocols::{
|
miniprotocols::{
|
||||||
blockfetch::{BatchClient, Observer},
|
blockfetch::{BatchClient, Observer},
|
||||||
|
|
@ -22,7 +22,7 @@ impl Observer for BlockPrinter {
|
||||||
println!("{}", hex::encode(&body));
|
println!("{}", hex::encode(&body));
|
||||||
println!("----------");
|
println!("----------");
|
||||||
|
|
||||||
let block = Block::decode_fragment(body.as_slice()).unwrap();
|
let block = BlockWrapper::decode_fragment(body.as_slice()).unwrap();
|
||||||
println!("{:?}", block);
|
println!("{:?}", block);
|
||||||
println!("===========\n\n");
|
println!("===========\n\n");
|
||||||
|
|
||||||
|
|
@ -45,13 +45,13 @@ fn main() {
|
||||||
|
|
||||||
let range = (
|
let range = (
|
||||||
Point::Specific(
|
Point::Specific(
|
||||||
3240000,
|
16233554,
|
||||||
hex::decode("b7096a881f77ced24bdd285758646c0e059545b54855bd3a2307ece518bd6317")
|
hex::decode("02707620f06fbf6daf2e56848e1b881df1a2b7d3d7ecd53cffc55151858a1de1")
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
),
|
),
|
||||||
Point::Specific(
|
Point::Specific(
|
||||||
4492794,
|
16233737,
|
||||||
hex::decode("5c196e7394ace0449ba5a51c919369699b13896e97432894b4f0354dce8670b6")
|
hex::decode("77a63ccd3b2b7a9f83686915884ff9c59aab4e00b12c92df46a904dc59e7b5fd")
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pallas-primitives"
|
name = "pallas-primitives"
|
||||||
description = "Ledger primitives and cbor codec for the different Cardano eras"
|
description = "Ledger primitives and cbor codec for the different Cardano eras"
|
||||||
version = "0.6.0"
|
version = "0.6.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://github.com/txpipe/pallas"
|
repository = "https://github.com/txpipe/pallas"
|
||||||
homepage = "https://github.com/txpipe/pallas"
|
homepage = "https://github.com/txpipe/pallas"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue