mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
de4ebdde71
* Sample Signatures for put_enc and get_dec * Implement put_enc and get_dec * Implement ChainCodec in grin_chain * Truncate src only on complete Blocks * Truncate src only on complete Tip + Check Len * Move BlockHeader Encoding to BlockHeaderCodec * Define put_enc for store::Batch * Replace BlockCodec and BlockHeaderCodec with generic BlockCodec<T> * Implement Default for BlockCodec Manually * Replace get_ser/put_ser with get_enc/get_dec for chain::ChainKVStore * Remove Writeable/Readable for chain::Tip * Add Tokio-io and Bytes to grin_p2p * Additional Setup for Message enum + Msg{Encode,Decode} traits * base msg ping pong encoding and test * fill out msg-codec tests * Implement Hand Encoding/Decoding * msg-encode shake * msg-encode getpeeraddr * codec peer-addrs message, SockAddr struct wierdness * header message codec * msg encoding finished prelim * Implement PeerCodec Encoding/Decoding * Set PeerStore to use PeerCodec for Encoding/Decoding * Add a DecIterator * Prune PeerStore * Replace Decoding and Encoding in handle_payload * Prune Writeable/Readable methods in store::Store * Remove Incomplete Frame Testing ( Not Nessesary right now ) * separate block and tx codec tests * Refactor {Tx,Block}Codec Tests
31 lines
603 B
TOML
31 lines
603 B
TOML
[package]
|
|
name = "grin_p2p"
|
|
version = "0.1.0"
|
|
authors = ["Ignotus Peverell <igno.peverell@protonmail.com>"]
|
|
workspace = ".."
|
|
|
|
[dependencies]
|
|
tokio-io = "0.1.1"
|
|
bytes = "0.4.2"
|
|
bitflags = "^0.7.0"
|
|
byteorder = "^0.5"
|
|
futures = "^0.1.9"
|
|
log = "^0.3"
|
|
net2 = "0.2.0"
|
|
rand = "^0.3"
|
|
serde = "~0.9.10"
|
|
serde_derive = "~0.9.10"
|
|
tokio-core="^0.1.1"
|
|
tokio-timer="^0.1.0"
|
|
|
|
time = "^0.1"
|
|
enum_primitive = "^0.1.0"
|
|
num = "^0.1.36"
|
|
|
|
grin_core = { path = "../core" }
|
|
grin_store = { path = "../store" }
|
|
grin_util = { path = "../util" }
|
|
secp256k1zkp = { path = "../secp256k1zkp" }
|
|
|
|
[dev-dependencies]
|
|
env_logger = "^0.3"
|