Minimal implementation of the Mimblewimble protocol.
Find a file
Ignotus Peverell 6a9a584c43
Fix pruning of last PMMR leaf, additional tests
Due to the construction of PMMRs the last element, when its a leaf,
can never be pruned as it has no parent yet and it will be needed
to calculate that hash. To work around this, we now insert coinbase
outputs first to add at least one output of padding.

Also changed the `set_sumtree_root` function on chain a bit to allow
setting the roots on a fork. Mostly useful for tests.

Added new test case to handle both the issue above and spending
transactions within a fork.
2018-01-08 01:23:23 +00:00
.hooks fix the bash array loop 2017-12-20 15:37:23 -05:00
api Improved receive error handling 2018-01-06 23:27:21 +00:00
chain Fix pruning of last PMMR leaf, additional tests 2018-01-08 01:23:23 +00:00
config Forgotten testnet1 cherries (#475) 2017-12-13 21:52:21 +00:00
core One grin per second, fixes #569 2018-01-07 04:21:50 +00:00
doc adding clang dependency to build doc 2018-01-03 10:14:59 +00:00
grin Fix pruning of last PMMR leaf, additional tests 2018-01-08 01:23:23 +00:00
keychain 100_000 keys max in a wallet (was 10_000) and someone maxed this out... (#520) 2017-12-18 20:33:44 -05:00
p2p Add POST peers/a.b.c.d/unban in REST API (#571) 2018-01-04 03:25:14 +00:00
pool Forgotten testnet1 cherries (#475) 2017-12-13 21:52:21 +00:00
pow miner timing resolution (#351) 2017-11-20 22:57:36 +00:00
src/bin Improved receive error handling 2018-01-06 23:27:21 +00:00
store pmmr should not depend on switch_commit_hash to identify utxo (#576) 2018-01-04 13:38:46 -05:00
util Forgotten testnet1 cherries (#475) 2017-12-13 21:52:21 +00:00
wallet Remove reserved output on wallet receive failure 2018-01-07 03:57:38 +00:00
.gitignore Markdown fixes + gitignore addition (#334) 2017-11-20 14:33:35 +00:00
.travis.yml Adding kcov code coverage to chain and core modules (#547) 2018-01-06 20:54:46 +00:00
Cargo.toml Display chain status with grin client status (#543) 2017-12-22 18:46:28 +00:00
CODE_OF_CONDUCT.md Update moderation team email 2017-09-29 20:50:49 +00:00
CONTRIBUTING.md updating contribution guidelines with info on how to submit documentation changes 2017-11-07 21:45:52 +00:00
grin.toml better error messages + some cleanup (#497) 2017-12-18 08:17:11 -05:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Add kcov support (#545) 2017-12-27 02:09:10 +00:00
rustfmt.toml Start of a binary file for the grin node 2017-04-24 18:55:01 -07:00

Build Status Gitter chat Codecov coverage status

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, aiming to stay as such.
  • Follows the MimbleWimble protocol, which provides great anonymity and scaling characteristics.
  • Cuckoo Cycle proof of work (at least to start with).
  • Relatively fast block time (a minute or less, possibly decreasing as networks improve).
  • Fixed block reward, both over time and in blocks (fees are not additive).
  • Transaction fees are based on the number of UTXO created/destroyed and total transaction size.
  • Smooth curve for difficulty adjustments.

To learn more, read our introduction to MimbleWimble and Grin.

Status

Grin is still an infant, 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:

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 disrepect 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.

J.K. Rowling for making it despite extraordinary adversity.

License

Apache License v2.0.