Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell 8b7a20f8b0
The Header MMR (One MMR To Rule Them All) (#1716)
* header MMR in use within txhashset itself
works with fast sync
not yet in place for initial header sync

* add the (currently unused) sync_head mmr

* use sync MMR during fast sync
rebuild header MMR after we validate full txhashset after download

* support missing header MMR (rebuild as necessary) for legacy nodes

* rustfmt

* comments/docs

* rustfmt

* cleanup DBBackend

* cleanup DBBackend

* cleanup

* rename to HashOnly

* rustfmt

* cleanup backend.append()

* simply pmmr append api
no need to pass position when appending

* cleanup

* simplify vec_backend to match simpler append api

* rustfmt

* docs/comments

* rustfmt

* cleanup
2018-10-15 17:16:34 +01:00
.hooks cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
chain The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
config small improvement on the capabilities config comments (#1689) 2018-10-08 20:35:48 +08:00
core The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
doc Translate intro.md to spanish (#1707) 2018-10-10 08:10:23 +08:00
keychain Replace rust-crypto with RustCrypto (#1573) 2018-09-25 16:24:05 -04:00
p2p small improvement on the servers test (#1736) 2018-10-14 17:01:34 +08:00
pool Replace RefCell with RwLock in OneTime (and cleanup Weak usage) (#1694) 2018-10-09 16:53:57 +01:00
servers The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
src feature: txhashset downloading progress display on tui (#1729) 2018-10-12 15:53:50 -07:00
store The Header MMR (One MMR To Rule Them All) (#1716) 2018-10-15 17:16:34 +01:00
util Use secp crate directly without extra use statement (#1738) 2018-10-14 20:40:15 +08:00
wallet Support pem TLS certificates 2018-10-05 17:09:19 +02: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 Fix typo + git ignore wallet data (#1350) 2018-08-13 23:28:01 +01:00
.gitlab-ci.yml Add gitlab ci config (#860) 2018-03-25 17:41:49 +00:00
.travis.yml fix: binary auto release feature broken (#1714) 2018-10-10 19:02:29 +08:00
Cargo.lock Use constant-time token verification in API (#1690) 2018-10-09 09:32:53 -04:00
Cargo.toml Bump reqwest version to remove hyper 0.11 2018-09-19 19:43:56 +02: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
Dockerfile Dockerfile updates (#1580) 2018-09-25 13:18:17 -07: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.