Minimal implementation of the Mimblewimble protocol.
Find a file
Ignotus Peverell 87d256a318
Utility to automatically generate mainnet genesis block (#2122)
* Get last bitcon block hash, setup genesis header without PoW (for now)

* More a few properties to mainnet genesis. Don't get too excited, several are placeholders.

* Mine a valid Cuckaroo solution for genesis block

* Use miner as library to get a solution for genesis. Replace final values in genesis.rs before committing it.

* Complete genesis replacement

* Fixed various replacements to obtain a compilable, well-formed genesis

* Check plugin errors, uncomment PoW validation

* Fixes to nonce handling in genesis mining

* Also produce full block hashes

* Fix genesis hash test
2018-12-18 11:26:29 -08:00
.hooks cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
chain [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
config Switch commitments (#2157) 2018-12-18 11:51:44 +00:00
core Utility to automatically generate mainnet genesis block (#2122) 2018-12-18 11:26:29 -08:00
doc Enhance share rejection messages to include nonce and hash (#2173) 2018-12-18 11:12:05 +00:00
etc Also produce full block hashes 2018-12-14 22:12:54 +00:00
keychain [Floonet] Use switch commits for all blinding factors (#2178) 2018-12-18 15:44:55 +00:00
p2p Clean shutdown via stop_state (#2117) 2018-12-11 11:07:41 +00:00
pool [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
servers [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
src TUI mining server status: add blocks found statistics (#2151) 2018-12-15 10:10:33 +08:00
store Clean shutdown via stop_state (#2117) 2018-12-11 11:07:41 +00:00
util [Floonet] Use switch commits for all blinding factors (#2178) 2018-12-18 15:44:55 +00:00
wallet [Floonet] add feature for height locked kernels (#2168) 2018-12-18 18:26:34 +00:00
.auto-release.sh chore: automatic binaries release (#1540) 2018-09-25 08:37:24 +08:00
.editorconfig Add a .editorconfig file 2018-05-07 10:08:55 -04:00
.gitignore Sign kernel features (#2104) 2018-12-12 09:19:36 +00:00
.gitlab-ci.yml Add gitlab ci config (#860) 2018-03-25 17:41:49 +00:00
.travis.yml fix travis-ci test suite for wallet_command_line test (#2155) 2018-12-14 22:37:45 +08:00
Cargo.lock [Floonet] Use switch commits for all blinding factors (#2178) 2018-12-18 15:44:55 +00:00
Cargo.toml Merged upstream 2018-12-11 18:54:44 +00:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md docs: contributing.md twitter link for the council (#1708) 2018-10-10 09:52:06 +08:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Readme twitter link for the council 2018-10-09 18:39:34 +00:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
SECURITY.md First pass at Grin's security policy 2018-09-10 22:52:17 +00: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.
  • Relatively fast block time (a 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 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 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.