Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell a2adf2dfe8
Dandelion++ Rewrite (#2628)
* reworked the dandelion rewrite (dandelion++)

* fallback to fluff/broadcast if we cannot stem the tx for any reason

* rework stem vs fluff logic during accepting tx

* cleanup docs

* add is_stem to logging

* cleanup

* rustfmt

* cleanup monitor and logging

* rework dandelion monitor to use simple cutoff for aggregation

* transition to next epoch *after* processing tx
so we fluff final outstanding txs

* fluff all txs in stempool if any are older than 30s
aggressively aggregate when we can

* fix rebase onto 1.1.0

* default config comments for Dandelion

* fix code to reflect our tests - fallback to txpool on stempool error

* log fluff and expire errors in dandelion monitor

* cleanup

* fix off by one

* cleanup

* cleanup

* various fixes

* one less clone

* cleanup
2019-03-20 13:08:56 +00:00
.cargo windows cargo settings (#2632) 2019-02-26 16:48:45 +00: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 merge from master 2019-02-25 12:15:12 +00:00
chain [1.1.0] LMDB Naming consistency fix (#2656) 2019-03-06 17:34:39 +00:00
config Dandelion++ Rewrite (#2628) 2019-03-20 13:08:56 +00:00
core [1.1.0] Bring fuzz test back (#2675) 2019-03-15 15:32:14 +01:00
doc Remove wallet code [1.1.0] (#2593) 2019-02-21 11:57:45 +00:00
etc disable gen_gen crate (#2636) 2019-02-27 12:09:08 +00:00
keychain make error types serializable (#2659) 2019-03-07 19:08:29 +00:00
p2p Dandelion++ Rewrite (#2628) 2019-03-20 13:08:56 +00:00
pool Dandelion++ Rewrite (#2628) 2019-03-20 13:08:56 +00:00
servers Dandelion++ Rewrite (#2628) 2019-03-20 13:08:56 +00:00
src merge from master 2019-02-25 12:15:12 +00:00
store [1.1.0] LMDB Naming consistency fix (#2656) 2019-03-06 17:34:39 +00:00
util make error types serializable (#2659) 2019-03-07 19:08:29 +00:00
.auto-release.sh insert windows build support (#2626) 2019-02-25 16:12:03 +00:00
.editorconfig Add a .editorconfig file 2018-05-07 10:08:55 -04:00
.gitignore Optimizing the code and making it more idiomatic (#2269) 2019-01-01 15:29:16 -08:00
.gitlab-ci.yml Add gitlab ci config (#860) 2018-03-25 17:41:49 +00:00
.travis.yml insert windows build support (#2626) 2019-02-25 16:12:03 +00:00
Cargo.lock https support for webhooks (#2660) 2019-03-12 13:23:40 +01:00
Cargo.toml Bump version to 1.0.2 (#2623) 2019-02-24 21:57:56 -08:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md Update contributing guidelines (#2563) 2019-02-19 14:29:58 +00:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md README update to make github page also reflect that Mainnet is launched (#2439) 2019-01-28 10:58:51 +00:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
SECURITY.md Fix domain for my email address 2018-12-19 12:11:42 -08:00

Build Status Gitter chat Support 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, 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.