Minimal implementation of the Mimblewimble protocol.
Find a file
Ignotus Peverell 9554f93e1d
Run header sync only when stalled or complete (#1393)
Header sync used to run when complete (right count of blocks
received) or every 10 sec regardless. Sometimes 10 secs is not
enough, especially when a big batch of blocks bodies is arriving
at the same time.

This tweaks the time-based heuristic just a bit to only ask for
headers when stalled, meaning that the header head has not
*progressed* for 10 seconds.

* Fix bad header sync timeout logic

* Improve stability of fast sync test
Adds regular pings so that the 2 test servers know each others'
heights (necessary to find most work peer). Stop mining on the
first server once the 2nd kicks in. Avoids chasing a fast moving
target on Cuckoo10.
2018-08-22 19:51:25 -04:00
.hooks cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api Refactor compact block body (#1394) 2018-08-22 20:19:37 +01:00
chain Refactor compact block body (#1394) 2018-08-22 20:19:37 +01:00
config Sort pool tx by fee over weight for mining (#1346) 2018-08-19 18:50:43 -04:00
core Refactor compact block body (#1394) 2018-08-22 20:19:37 +01:00
doc Fix typo + git ignore wallet data (#1350) 2018-08-13 23:28:01 +01:00
keychain add impl fmt::Debug for BlindingFactor, for pretty print (#1382) 2018-08-19 12:57:04 +01:00
p2p Refactor compact block body (#1394) 2018-08-22 20:19:37 +01:00
pool Refactor compact block body (#1394) 2018-08-22 20:19:37 +01:00
servers Run header sync only when stalled or complete (#1393) 2018-08-22 19:51:25 -04:00
src Automatic setting up git hooks for the project: rustfmt, etc. (#1380) 2018-08-21 12:52:37 -04:00
store Unpin croaring to version 0.3.2 (#1352) 2018-08-14 08:28:58 -04:00
util Retrieve header by output commit (#1388) 2018-08-20 19:02:44 +01:00
wallet Refactor compact block body (#1394) 2018-08-22 20:19:37 +01: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 Make grin.toml config optional (#1278) 2018-07-29 17:48:24 -07:00
Cargo.lock fixup Cargo.lock (#1377) 2018-08-18 16:41:00 +01:00
Cargo.toml Serve up web wallet application (#1367) 2018-08-17 18:51:50 +01:00
CODE_OF_CONDUCT.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
CONTRIBUTING.md Automatic setting up git hooks for the project: rustfmt, etc. (#1380) 2018-08-21 12:52:37 -04:00
Dockerfile Add a minimal dockerfile (#1136) 2018-06-05 14:54:06 -04:00
grin.toml default run_wallet_owner_api to false 2018-08-18 13:48:43 +01:00
LICENSE Create LICENSE 2017-06-29 09:24:44 -07:00
README.md Many typo fixes (#1158) 2018-06-13 17:03:34 +01:00
rustfmt.toml cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01: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.