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

Deprecate intra-block chained transactions #1064

Open
castarco opened this issue May 6, 2019 · 0 comments
Open

Deprecate intra-block chained transactions #1064

castarco opened this issue May 6, 2019 · 0 comments
Labels
brainstorming Needs input, ideas are welcome consensus

Comments

@castarco
Copy link

castarco commented May 6, 2019

I open this issue to openly discuss this idea, I know it might be controversial, hence the "brainstorming" tag.

Is your feature request related to a problem? Please describe
Allowing intra-block chained transactions has some problems:

  • Makes it difficult to parallelize the validation of transactions in a block.
  • The validation logic itself is much more complex than it should, because we can't just rely on what's in the UTXOs set to know which prevouts are valid or not.
  • The main reason why they exist is that Bitcoin's blocks are created every 10 minutes, in our case we create blocks every 8 seconds.

Describe the solution you'd like
Stop allowing intra-block chained transactions, remove all the code supporting them, simplifying production & testing code.

Describe alternatives you've considered
No alternatives considered.

Additional context

  • Removing intra-block chained transactions would also help to implement things like the "compact transactions" proposed in More compact transactions layout #474 .
  • It will be harder to merge changes from Bitcoin into Unit-e if we follow this path.
@castarco castarco added consensus brainstorming Needs input, ideas are welcome labels May 6, 2019
@castarco castarco changed the title Deprecate 0-conf transactions Deprecate chained transactions inside the same block May 6, 2019
@castarco castarco changed the title Deprecate chained transactions inside the same block Deprecate intra-block chained transactions May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brainstorming Needs input, ideas are welcome consensus
Projects
None yet
Development

No branches or pull requests

1 participant