]> Git Repo - VerusCoin.git/commit
Auto merge of #3170 - ebfull:sapling-merkle-tree, r=ebfull
authorHomu <[email protected]>
Tue, 8 May 2018 03:37:46 +0000 (20:37 -0700)
committerHomu <[email protected]>
Tue, 8 May 2018 03:37:46 +0000 (20:37 -0700)
commit333b9a0d0b0db2ada9f106ac73cef22a77914ec7
treebd789554572ac9390bb0e238cf708c2007b16ba6
parent1d4235dce77475dc90d0ab22e2a023ee76147afd
parent40bfb9e5b90db9e34fe1799dda7e8667465627a8
Auto merge of #3170 - ebfull:sapling-merkle-tree, r=ebfull

Sapling merkle tree implementation

Closes #3056.

Please also review https://github.com/zcash/librustzcash/pull/8

This PR:

1. Introduces ZCSaplingIncrementalMerkleTree using Pedersen hashes.
2. Adds support for Sapling anchors into consensus rules. (Adds commitments, checks anchors are correct, handles block (dis)connects, etc.)
3. Handles mempool eviction for obsolete anchors.
4. Enforces correctness of block's Sapling root field
5. Changes miner to correctly apply the Sapling root to the block header
6. Handles mempool consistency checks for anchors
src/main.cpp
src/wallet/wallet.cpp
This page took 0.026458 seconds and 4 git commands to generate.