6bd3fc0d48
Some renaming and cleanup of the Input, Output, Transaction and Block structs. The main change is the removal of all the overt structures which are now replaced by a specialized module to build transactions easily. More specifically: * Rename the TxProof to TxKernel in Block to reflect the current naming consensus in MimbleWimble. * Change Input and Output to be plain structs instead of enums making their manipulation a lot easier. The building of transactions is now handled by the build module. * Input now directly includes the commitment of the Output it's spending instead of going through an intermediate hash. * The new build module encapsulates all the transaction building logic, making it very straightforward by chaining combinators. * Moves some tests to the core mod.rs as they required being able to build a transaction to test it. |
||
---|---|---|
api | ||
chain | ||
core | ||
doc | ||
grin | ||
p2p | ||
secp256k1zkp | ||
store | ||
util | ||
.gitignore | ||
.travis.yml | ||
README.md | ||
TODO.md |
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 (at least to start with).
- Relatively fast block time (a minute or less, possibly decreasing as networks improve).
- Fixed block reward, both over time and in blocks (fees are not additive).
- Transaction fees are based on the number of UTXO created/destroyed and total transaction size.
- Smooth curve for difficulty adjustments.
Status
Grin is still an infant, much is left to be done and contributions are welcome (see below). Our status file may help.
Contributing
Find an area you can help with and do it. Open source is about collaboration and open participation. Try to make your code look like what already exists and submit a pull request. If you're looking for additional ideas, the code includes TODO comments for minor to major improvements. Grep is your friend.
Additional tests are rewarded with an immense amount of positive karma. So is documentation.
Find us:
- IRC: #MimbleWimble on Freenode.
- Mailing list: join the ~MimbleWimble team and subscribe on Launchpad.
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 disrepect 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.