3f4f165e0b
* refactor prune_list with aim of allowing pruned subtree appending * add test coverage around pmmr::is_leaf() and pmmr::bintree_leaf_pos_iter() * comments * cleanup * implement append pruned subtree for prune_list * commit * we can now append to prune_list * fix our prune_list corruption... * rework how we rewrite the prune list during compaction * test coverage for improved prune list api * continuing to merge * finish merge, tests passing again * add function pmmr_leaf_to_insertion_index, and modify bintree_lef_pos_iter to use it. Note there's still an unwrap that needs to be dealt with sanely * change pmmr_leaf_to_insertion_index to simpler version + handle conversion between 1 and 0 based in bintree_leaf_pos_iter Co-authored-by: antiochp <30642645+antiochp@users.noreply.github.com> |
||
---|---|---|
.cargo | ||
.ci | ||
.github | ||
.hooks | ||
api | ||
chain | ||
config | ||
core | ||
doc | ||
etc | ||
keychain | ||
p2p | ||
pool | ||
servers | ||
src | ||
store | ||
util | ||
.editorconfig | ||
.gitignore | ||
azure-pipelines.yml | ||
Cargo.lock | ||
Cargo.toml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
rustfmt.toml | ||
SECURITY.md |
Grin
Grin is an in-progress implementation of the Mimblewimble protocol. Many characteristics are still undefined but the following constitutes a first set of choices:
- Clean and minimal implementation, and aiming to stay as such.
- Follows the Mimblewimble protocol, which provides hidden amounts and scaling advantages.
- Cuckoo Cycle proof of work in two variants named Cuckaroo (ASIC-resistant) and Cuckatoo (ASIC-targeted).
- Relatively fast block time: one minute.
- Fixed block reward over time with a decreasing dilution.
- Transaction fees are based on the number of Outputs created/destroyed and total transaction size.
- Smooth curve for difficulty adjustments.
To learn more, read our introduction to Mimblewimble and Grin.
Status
Grin is live with mainnet. Still, much is left to be done and contributions are welcome (see below). Check our mailing list archives for the latest status.
Contributing
To get involved, read our contributing docs.
Find us:
- Chat: Keybase, more instructions on how to join here.
- Mailing list: join the ~Mimblewimble team and subscribe on Launchpad.
- Twitter for the Grin council: @grincouncil
Getting Started
To learn more about the technology, read our introduction.
To build and try out Grin, see the build docs.
Philosophy
Grin likes itself small and easy on the eyes. It wants to be inclusive and welcoming for all walks of life, without judgement. Grin is terribly ambitious, but not at the detriment of others, rather to further us all. It may have strong opinions to stay in line with its objectives, which doesn't mean disrespect of others' ideas.
We believe in pull requests, data and scientific research. We do not believe in unfounded beliefs.
Credits
Tom Elvis Jedusor for the first formulation of Mimblewimble.
Andrew Poelstra for his related work and improvements.
John Tromp for the Cuckoo Cycle proof of work.
License
Apache License v2.0.