Skip to content
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

[Nakamoto] Stacks-signer should write a list of all their transactions to stackerdb rather than to the mempool #4006

Closed
jferrant opened this issue Oct 20, 2023 · 1 comment

Comments

@jferrant
Copy link
Collaborator

jferrant commented Oct 20, 2023

The signer should not have to pay transaction fees for special cased control plane transactions. However, if the fee is set too low the mempool responds with MemPoolRejection::FeeTooLow . Instead of broadcasting these transactions to the mempool, after epoch 3 is in place, signers should broadcast these transactions as a list to stacker db for other signers and the miner to observe.
Signers can then verify that proposed blocks from the miner contain all transactions that they and the other signesr care about and the miner can in turn query the stackerdb slots for the list of all transactions that each stacks signer cares about.

Note that pre epoch 3, they should try broadcasting directly to the mempool

related to #4239
Related to #3981

@github-project-automation github-project-automation bot moved this to Status: 🆕 New in Stacks Core Eng Oct 20, 2023
@jferrant jferrant changed the title [stacks-signer] Update the tx fee to 0 when making stacks transactions from the signer [Nakamoto] Enable 0 fee tx's from registered signers to the vote-for-aggregate-public-key in the pox-4 voting contract Jan 26, 2024
@jferrant jferrant changed the title [Nakamoto] Enable 0 fee tx's from registered signers to the vote-for-aggregate-public-key in the pox-4 voting contract [Nakamoto] Stacks-signer should write a list of all their transactions to stackerdb rather tahn to the mempool Jan 26, 2024
@jferrant jferrant self-assigned this Jan 26, 2024
@jferrant jferrant moved this from Status: 🆕 New to Status: 💻 In Progress in Stacks Core Eng Jan 26, 2024
@8marz8 8marz8 changed the title [Nakamoto] Stacks-signer should write a list of all their transactions to stackerdb rather tahn to the mempool [Nakamoto] Stacks-signer should write a list of all their transactions to stackerdb rather than to the mempool Jan 28, 2024
@saralab saralab moved this from Status: 💻 In Progress to Status: In Review in Stacks Core Eng Jan 31, 2024
@saralab saralab closed this as completed Feb 5, 2024
@github-project-automation github-project-automation bot moved this from Status: In Review to Status: ✅ Done in Stacks Core Eng Feb 5, 2024
@blockstack-devops
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@stacks-network stacks-network locked as resolved and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

4 participants