Minimal implementation of the Mimblewimble protocol.
Find a file
hashmap 53bce41981
Don't use process::exit in wallet cmd (#1913)
Unlike panic it doesn't call destructors (Drop) so all open transactions
are not closed. It's fine when LMDB file is open by the current process
only, but if another process keeps the same file open such transactions
will be considered alive until the second process exits. We usually have
one or more long-lived process (like `wallet listen`) which opens the
same wallet db as short-lived wallet commands. When a command fails it
calls process::exit and as result leaks a transaction.
This pr replaces such calls with an exit code return, which allows to call
all destructors before calling process::exit.
Fixes #1822
2018-11-04 21:26:46 +01:00
.hooks cannot use unstable rustfmt features outside nightly toolchain (#1338) 2018-08-10 14:54:09 +01:00
api refactor: refactored the API into related handler files (#1914) 2018-11-03 07:46:12 +01:00
chain PMMRable cleanup (#1910) 2018-11-01 20:14:46 +00:00
config replace cyan and yellow which not easy to read on white background (#1903) 2018-11-03 09:42:41 +01:00
core PMMRable cleanup (#1910) 2018-11-01 20:14:46 +00:00
doc Update TLS wallet doc (#1908) 2018-11-01 10:37:48 -07:00
keychain Improve crate descriptors to be more cargo-friendly (#1844) 2018-10-25 17:44:50 -07:00
p2p Remove unused unsafe declarations (#1901) 2018-10-31 13:19:28 -07:00
pool validate root of header MMR when processing headers (during sync and full blocks) (#1836) 2018-11-01 09:51:32 +00:00
servers validate root of header MMR when processing headers (during sync and full blocks) (#1836) 2018-11-01 09:51:32 +00:00
src Don't use process::exit in wallet cmd (#1913) 2018-11-04 21:26:46 +01:00
store PMMRable cleanup (#1910) 2018-11-01 20:14:46 +00:00
util fix: more readable timestamp format for logging (#1912) 2018-11-02 15:13:12 +00:00
wallet replace cyan and yellow which not easy to read on white background (#1903) 2018-11-03 09:42:41 +01: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 Improve crate descriptors to be more cargo-friendly (#1844) 2018-10-25 17:44:50 -07:00
Cargo.toml Improve crate descriptors to be more cargo-friendly (#1844) 2018-10-25 17:44:50 -07: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.