Minimal implementation of the Mimblewimble protocol.
Find a file
hashmap 80a8f76c4c
Optimize Option to Error conversion (#3036)
To convert option to error we generate an error message. In some places
it contains header or block hash code or other data which is costly to
produce. So during the initial header sync we spend 12% of all time on
generating those messages (in 99% cases we don't use it). This PR
introduces a lazy generation of error messages which completely
eliminates CPU load during the header sync.
2019-09-10 14:38:36 +02: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 cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api Optionally add rangeproofs to block api (#2999) 2019-09-03 15:52:33 +01:00
chain Optimize Option to Error conversion (#3036) 2019-09-10 14:38:36 +02:00
config improve checking for p2p connection limits (revised) (#2993) 2019-08-21 19:58:43 +01:00
core Split header MMR (and sync MMR) out from txhashset (#3004) 2019-09-07 07:28:26 +08:00
doc Optionally add rangeproofs to block api (#2999) 2019-09-03 15:52:33 +01:00
etc Update minimum required rust version and dockerfile (#2858) 2019-05-28 11:02:10 -04:00
keychain Updates to support XORed wallet keys/Tokens (#2982) 2019-08-02 11:30:26 +01:00
p2p Optimize Option to Error conversion (#3036) 2019-09-10 14:38:36 +02:00
pool Rewind head and header_head consistently. (#2918) 2019-07-26 08:36:24 +01:00
servers Split header MMR (and sync MMR) out from txhashset (#3004) 2019-09-07 07:28:26 +08:00
src Split header MMR (and sync MMR) out from txhashset (#3004) 2019-09-07 07:28:26 +08:00
store Optimize Option to Error conversion (#3036) 2019-09-10 14:38:36 +02:00
util refactor code (#2990) 2019-09-04 09:53:05 -04: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 Merge branch 'master' into milestone/2.x.x 2019-07-24 15:10:26 +01:00
Cargo.toml Move SyncStatus and SyncState to chain crate (#2964) 2019-07-23 16:47:59 +02:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md mimblewinble -> mimblewimble (#2803) 2019-05-03 13:48:25 +01:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Add Azure-pipeline badge (#2818) 2019-05-09 10:54:24 -07:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
SECURITY.md Add 4th contact to SECURITY.md (#2939) 2019-07-04 19:46:29 +02: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 great anonymity and scaling characteristics.
  • 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.