Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell 11ac7d827a
Enable faster sync (#3108)
* add bitmap accumulator
refactor vec backend so we can use it outside of tests
introduce a "hash only" vec backend for the accumulator

* get core tests passing

* initial test coverage for bitmap_accumulator

* better test coverage for bitmap accumulator and cleanup code

* refactor txhashset roots, call validate() on roots during block validation

* fix store tests

* log the "merged" root when validating roots

* cleanup, revise based on feedback

* cleanup

* rework it to pass explicit size into bitmap accumulator when applying
2019-11-26 20:21:49 +00:00
.cargo windows cargo settings (#2632) 2019-02-26 16:48:45 +00:00
.ci CI Improvements (#2928) 2019-06-27 10:31:58 -04:00
.github Update contributing guidelines (#2563) 2019-02-19 14:29:58 +00:00
.hooks chore: pre-commit hook - format all staged files, re-add then commit (#3078) 2019-10-07 21:00:41 +01:00
api Enable faster sync (#3108) 2019-11-26 20:21:49 +00:00
chain Enable faster sync (#3108) 2019-11-26 20:21:49 +00:00
config Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
core Enable faster sync (#3108) 2019-11-26 20:21:49 +00:00
doc Chinese translation (#3098) 2019-11-26 14:57:01 +01:00
etc Change 2018 to 2019 in copyright files (#3072) 2019-10-02 09:40:20 +01:00
keychain Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
p2p Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
pool Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
servers use try_read_for() with timeout for tui status updates (header and pool stats) (#3129) 2019-11-22 12:46:07 +00:00
src use saturatig_sub() to avoid a negative value causing an overflow panic (#3139) 2019-11-26 19:05:04 +00:00
store Enable faster sync (#3108) 2019-11-26 20:21:49 +00:00
util Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
.editorconfig [1.1.0] Merge master into 1.1.0 (#2720) 2019-04-01 11:47:48 +01:00
.gitignore Optimizing the code and making it more idiomatic (#2269) 2019-01-01 15:29:16 -08:00
azure-pipelines.yml CI Improvements (#2928) 2019-06-27 10:31:58 -04:00
Cargo.lock Enable faster sync (#3108) 2019-11-26 20:21:49 +00:00
Cargo.toml Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md Replace MimbleWimble by Mimblewimble (#3118) 2019-11-19 10:49:32 +00:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Fixing misleading privacy claim (#3127) 2019-11-26 20:17:16 +00:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
SECURITY.md Implement security-process RFC (#3009) 2019-10-08 18:26:24 +03:00

Build Status Coverage Status Chat Support Documentation Wiki Release Version License

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:

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.

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

License

Apache License v2.0.