grin/chain/Cargo.toml

34 lines
907 B
TOML
Raw Normal View History

2016-10-21 03:06:12 +03:00
[package]
name = "grin_chain"
version = "5.3.0"
authors = ["Grin Developers <mimblewimble@lists.launchpad.net>"]
description = "Chain implementation for grin, a simple, private and scalable cryptocurrency implementation based on the Mimblewimble chain format."
license = "Apache-2.0"
repository = "https://github.com/mimblewimble/grin"
keywords = [ "crypto", "grin", "mimblewimble" ]
2017-04-06 09:41:49 +03:00
workspace = ".."
edition = "2018"
2016-10-21 03:06:12 +03:00
[dependencies]
bit-vec = "0.6"
bitflags = "1"
byteorder = "1"
croaring = "1.0.1"
NRD rules and "recent" kernel pos index (#3302) * variants for output_pos linked list entries (head/tail/middle/unique) next and prev and Vec<u8> lmdb keys * get_pos on enum * break list and list entries out into separate enums * track output features in the new output_pos index, so we can determine coinbase maturity * push entry impl for none and unique * some test coverage for output_pos_list * commit * wip - FooListEntry * use instance of the index * linked list of output_pos and commit_pos both now supported * linked_list * cleanup and rename * rename * peek_pos * push some, peek some, pop some * cleanup * commit pos cleanup * split list and entry out into separate db prefixes * cleanup and add placeholder for pop_back * pop_pos_back (for popping off the back of the linked list) test coverage for pop_pos_back * wip * placeholder for prune via a trait pos must always increase in the index * rewind kernel_pos_idx when calling rewind_single_block * RewindableListIndex with rewind support. * test coverage for rewindable list index * test coverage for rewind back to 0 * rewind past end of list * add tests for kernel_pos_idx with multiple commits * commit * cleanup * hook NRD relative lock height validation into block processing and tx validation * cleanup * set local chain type for kernel_idx tests * add test coverage for NRD rules in block processing * NRD test coverage and cleanup * NRD relative height 1 test * test coverage for NRD kernels in block processing * cleanup * start of test coverage for txpool NRD kernel rules * wip * rework pool tests to use real chain (was mock chain) to better reflect reality (tx/block validation rules etc.) * cleanup * cleanup pruneable trait for kernel pos index * add clear() to kernel_pos idx and test coverage * hook kernel_pos rebuild into node startup, compaction and fast sync * verify full NRD history on fast sync * return early if nrd disabled * fix header sync issue
2020-06-10 18:38:29 +03:00
enum_primitive = "0.1"
log = "0.4"
serde = "1"
serde_derive = "1"
thiserror = "1"
2020-06-09 00:15:32 +03:00
chrono = "0.4.11"
lru-cache = "0.1"
lazy_static = "1"
2016-10-21 03:06:12 +03:00
grin_core = { path = "../core", version = "5.3.0" }
grin_keychain = { path = "../keychain", version = "5.3.0" }
grin_store = { path = "../store", version = "5.3.0" }
grin_util = { path = "../util", version = "5.3.0" }
2016-10-21 03:06:12 +03:00
[dev-dependencies]
2020-06-09 00:15:32 +03:00
env_logger = "0.7"
rand = "0.6"