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

Dynamic control burn_fee in stacks-blockchain #15

Closed
gzelda opened this issue Sep 29, 2020 · 3 comments
Closed

Dynamic control burn_fee in stacks-blockchain #15

gzelda opened this issue Sep 29, 2020 · 3 comments

Comments

@gzelda
Copy link
Member

gzelda commented Sep 29, 2020

Is your feature request related to a problem? Please describe.
stack-blockstack use a fixed amount of burn-fee for each block mined. The default burn-fee is 10000(satoshi)

Describe the solution you'd like
Mining-Bot needs a Dynamic, Controlled rpc for burn-fee.
The inner_generate_block_commit_op function implements the miner commit the leader hash to burn-chain. We should change the burn-fee before it is called.

Additional context
RPC should change a member variable in configuration of BurnChainConfig Class.

@gzelda
Copy link
Member Author

gzelda commented Oct 13, 2020

Default burn-fee is in HERE

@gzelda
Copy link
Member Author

gzelda commented Oct 15, 2020

The control of dynamic burn fee in each mining cycle should be fixed by LeaderBlockCommit transaction processing package.

@gzelda
Copy link
Member Author

gzelda commented Nov 13, 2020

Fixed by 02569d8 using Mining-Local-Server

@gzelda gzelda closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant