-
Notifications
You must be signed in to change notification settings - Fork 698
Feat/coinbase pay to contract #3164
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
Merged
Changes from all commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
e64b87b
docs: warn the reader that get-block-info? only returns the miner add…
jcnelson 4917d78
chore: coinbase variant takes an optional smart contract ID
jcnelson b8e0c78
feat: get the network-formatted address for a spending condition
jcnelson d94e05e
feat: add an optional smart contract ID to the transaction payload co…
jcnelson 96920f3
feat: update MinerReward to track the reward recipient address separa…
jcnelson 283d46a
feat: when preprocessing a block, pass the current epoch into the sta…
jcnelson 304ced4
chore: store recipient address and miner address separately in the mi…
jcnelson 4532672
chore: API sync with new coinbase variant
jcnelson f8ddaa9
feat: add new unit test for mining pay-to-contract blocks. Verify tha…
jcnelson 2f18806
chore: add transaction codec test coverage for pay-to-contract coinba…
jcnelson 058baf3
chore: add codec support for pay-to-contract coinbase transactions
jcnelson 1fa2459
chore: API sync -- use the new coinbase variant constructor
jcnelson 688e835
chore: use the new coinbase type variant
jcnelson 585f06c
fix: if a block has no parent, patch its block-commit to refer to (0,…
jcnelson d4e9ce1
chore: add a unit test to verify that the relayer rejects pay-to-cont…
jcnelson e4f08cb
chore: use the new coinbase variant
jcnelson ab05aa6
feat: add pay_to_contract field under [miner] to make the miner pay t…
jcnelson aea2412
feat: generate a pay-to-contract coinbase if a contract address is in…
jcnelson 50dc6ae
chore: use new coinbase variant
jcnelson fc41895
chore: use new coinbase variant
jcnelson f404a13
chore: use new coinbase variant
jcnelson 3c9a5bd
feat: add integration test to verify that the miner will build pay-to…
jcnelson 90a9f68
Merge branch 'next' into feat/coinbase-pay-to-contract
jcnelson dfbd0e0
fix: failing to preprocess a stacks block because it is invalid (e.g.…
jcnelson 65dcc53
chore: run new integration test to make sure pay-to-contract activates
jcnelson d6dbd1b
chore: "warning" --> "note"
jcnelson 3a6e7f1
chore: log txid in rejecting coinbase tx
jcnelson bb4fec8
chore: support PrincipalData as an optional block reward recipient
jcnelson cabcd79
feat: `recipient` can be either a standard or contract principal, and…
jcnelson c0de7e7
feat: block reward can be paid to a standard principal or contract pr…
jcnelson bc90068
feat: block reward recipient is unconditionally set now, and can be e…
jcnelson 60ec41b
chore: test coverage for paying the block reward to either an alterna…
jcnelson 2422882
chore: test coverage for codec for standard and contract principals a…
jcnelson 6a4b3c3
feat: coinbase can encode a standard or contract principal as an alte…
jcnelson 06f088a
chore: API sync
jcnelson 608eabf
chore: it's now [miner].block_reward_recipient
jcnelson 00838aa
chore: support both standard and contract principals when building co…
jcnelson e8c85f8
chore: test coverage for both paying to contracts and standard princi…
jcnelson d813eb8
chore: fix #3159 by separating out miner tests into their own test mo…
jcnelson 768a608
chore: plumb through refactoring
jcnelson 6376520
Merge pull request #3180 from stacks-network/fix/3159
jcnelson 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think instead of a
**WARNING**
, this should just be aNote:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done