-
Notifications
You must be signed in to change notification settings - Fork 399
[0.17] PAK Enforcement, as policy #484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
stevenroose
merged 34 commits into
ElementsProject:elements-0.17
from
instagibbs:e17-pak
Jan 24, 2019
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
40571ab
Turn on secp-zkp experimental modules for PAK
instagibbs 378e594
Define PAKList structure and operations
instagibbs 43424cb
Add PAK proof validation function
instagibbs 8c7746c
Add CScript::IsPayToPubkeyHash convienience function
instagibbs 6679823
Create global PAK lists for config and blockchain state
instagibbs 2b4899d
PAK enforcement via standardness, drop multi-op_return restriction
instagibbs bf66d77
Add Read/Write functions to txdb for PAK lists
instagibbs 86fbc24
GetPAKKeysFromCommitment utility function
instagibbs 9f5cc03
Read PAK list from connected blocks, save list, and boot transactions…
instagibbs f1dbd1c
-multi_data_permitted: Allow >1 op_return output by policy
instagibbs 1559cc9
C(Pub)Key::Derive: Return optional tweak vector for peg-out wallets
instagibbs 4e631bd
Add derivation helpers for peg-out wallet infrastructure
instagibbs 47422e7
Write and load peg-out wallet functions on wallet load
instagibbs 070be0f
add initpegout RPC for peg-out wallet initialization
instagibbs 567de67
Break out sendtomainchain to call functions based on -enforce_pak
instagibbs 3cfe2d4
Add sendtomainchain RPC call which is used when -pak_enforce is enabled
instagibbs 050bb49
Add getpakinfo RPC call, without wallet state
instagibbs 0e52456
Return status of pak enforcement on the blockchain in
instagibbs f06e6f6
Wallet offline_counter starts at -1
instagibbs d391782
Add getwalletpakinfo RPC call
instagibbs 5b6d767
Load PAK arguments from config and disk on startup
instagibbs bcd8db9
functional test for pak feature
instagibbs dfe5331
Miner adds PAK commitments when config 'disagress' with block commits
instagibbs 3fc3ac3
disallow pak enforcement arg when nonstandard tx are possible
instagibbs 47ea638
miner adds commitment when pak enforcement is set only
instagibbs 1241343
testproposedblock: Reject blocks with non-matching pak commitments
instagibbs 71acfb3
Add IsPayToWitnessPubkeyHash convenience function
instagibbs 542b826
ScriptHasvalidPAKProof: Allow any standard single-key output script type
instagibbs 8de4237
fixup mempool clearing of peg-outs on block commitment
instagibbs 85bcda5
pak mempool removal: don't modify the vector you are taking range over
instagibbs 7e63ce3
Extend validateaddress to check parent address validity.
instagibbs 6366734
Properly encode parent witness addresses
instagibbs 1cb252e
Descriptor support in PAK infrastructure and tests
instagibbs 19ef5e3
Add link to pak authorization design in secp-zpk
instagibbs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.