Minimal implementation of the Mimblewimble protocol.
Find a file
Antioch Peverell 5bf813ee93
improve checking for p2p connection limits (revised) (#2993)
* Add check for p2p connection limits

* Simplify undesirable connection shutdown

* Make inbound and outbound connections more explicit

* Cleanup inbound and outbound connections

* Cleanup an outbound peers check

* Rename healthy_peers_mix to enough_outbound_peers

* be a lot less restrictive when picking some candidate peers to connect to
keep the peer address queue drained but actually attempt a healthy number of connections
as most of these attempts are going to fail due to majority of nodes not being publicly accessible
2019-08-21 19:58:43 +01:00
.cargo windows cargo settings (#2632) 2019-02-26 16:48:45 +00:00
.ci [2.x.x] CI Improvements (#2963) 2019-07-23 16:25:25 +02: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 fee and lock_height maintained in kernel features variants (#2859) 2019-08-19 14:28:02 +01:00
chain Improve error handling when computing PMMR roots (#2988) 2019-08-09 15:10:54 +01:00
config improve checking for p2p connection limits (revised) (#2993) 2019-08-21 19:58:43 +01:00
core fee and lock_height maintained in kernel features variants (#2859) 2019-08-19 14:28:02 +01:00
doc Fix doc grin <subcommand> help syntax. (#2991) 2019-08-20 18:05:26 +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 improve checking for p2p connection limits (revised) (#2993) 2019-08-21 19:58:43 +01:00
pool Rewind head and header_head consistently. (#2918) 2019-07-26 08:36:24 +01:00
servers improve checking for p2p connection limits (revised) (#2993) 2019-08-21 19:58:43 +01:00
src Adds command to remove chain_data (#2954) 2019-07-25 10:13:56 +01:00
store Improve error handling when computing PMMR roots (#2988) 2019-08-09 15:10:54 +01:00
util [2.x.x] Use blocking IO in P2P to reduce CPU load (#2855) 2019-07-12 23:17:38 +02: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 [2.x.x] CI Improvements (#2963) 2019-07-23 16:25:25 +02: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.