grin/pool/Cargo.toml
Ignotus Peverell 1e73e3aefc
Add a min fee to accept transactions in the pool
Configuration for a minum accept fee base for the transaction
pool. The base is multipled by a weight computed from the
transaction number of inputs, outputs and kernels. The transaction
fee is required to always be larger than the weight times the
base.

    min_fee = base * (-1*input_len + 4*output_len + kernel_len)

The weight is set to never be less than one.

Also added a configurable (and fairly naive for now) max pool
capacity in number of transactions.
2017-10-07 18:31:01 +00:00

17 lines
446 B
TOML

[package]
name = "grin_pool"
version = "0.1.0"
authors = ["Grin Authors <mimblewimble@lists.launchpad.net>"]
[dependencies]
blake2-rfc = "~0.2.17"
grin_core = { path = "../core" }
grin_keychain = { path = "../keychain" }
grin_store = { path = "../store" }
grin_p2p = { path = "../p2p" }
secp256k1zkp = { git = "https://github.com/mimblewimble/rust-secp256k1-zkp" }
serde = "~1.0.8"
serde_derive = "~1.0.8"
time = "^0.1"
rand = "0.3"
log = "0.3"