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

Remove the limitation of 25 chained transactions #14

Open
fpelliccioni opened this issue Feb 12, 2020 · 0 comments
Open

Remove the limitation of 25 chained transactions #14

fpelliccioni opened this issue Feb 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request funding wanted Sponsorship is requested for this issue mempool mining

Comments

@fpelliccioni
Copy link
Contributor

fpelliccioni commented Feb 12, 2020

Remove the limitation of 25 chained transactions

GitHub Issue #14

Problem Description

The BCH community has been requesting the removal of the limitation of 25 chained transaction for a while.
To do this, we need the nodes currently used for mining, such as ABC and BU, to remove this limitation.
Apparently BU has removed this restriction.
We are working for Knuth to start being considered a mining node, so...

Solution Overview

So our proposal is to first work by eliminating this restriction on our node, and maximizing the performance of our algorithm to add chained transactions to the mempool.
Once we achieve this goal in our node, we will collaborate with the ABC dev. team (by sending a Pull Request) so that they can also remove this restriction, since to remove this restriction completely from the network, all mining nodes must remove it.
Then, we will create a test network using ABC, BU and Knuth nodes to verify that our changes do not increase the probability of doublespendings.

Solution Milestones

  1. Improve our algorithm to add chained transactions to the mempool and make it run in linear time.

  2. Create and provide a similar solution for Bitcoin-ABC (Pull request).

  3. Measure the current performance of ABC and Knuth, see that these metrics have been improved after the application of the new algorithm.

  4. Design a battery of tests that allow the community to gain confidence in this new solution.

  5. Coordinate with the entire community to remove this limit.

Estimated Relative Complexity

Milestone 1 - 360 / 1000 (36%)
Milestone 2 - 360 / 1000 (36%)
Milestone 3 - 40 / 1000 (04%)
Milestone 4 - 160 / 1000 (16%)
Milestone 5 - 80 / 1000 (08%)

Budget

This proposal has a minimum starting budget of 100 BCH.

Completing this proposal will require approximately 1000 hours.
At a rate of 0.5 BCH/hr, the total requested budget for this proposal is 500 BCH.

Funding Address

Funding this proposal may be sponsored by sending Bitcoin Cash to the following address:

1FMptKnpBDZ7fw9fhrDhfRczZ9pkv5h9kS
(bitcoincash:qzwcyrt3zhjz6atxw75qmnkhdmstqmj8yg69wzl9q8)

Authorization Signature:

The signature is signed with our primary donation address, bitcoincash:qrlgfg2qkj3na2x9k7frvcmv06ljx5xlnuuwx95zfn, which can be found on kth.cash.

The signature message consists of a Bitcoin Signed Message with the following format:

Issue-Number | Issue Title | Funding Address | Estimate Hours | Budget BCH

Notes:

The pre-image includes the concatenation symbol.
Pre-image:

14|Remove the limitation of 25 chained transactions|1FMptKnpBDZ7fw9fhrDhfRczZ9pkv5h9kS|1000|500

Signature:

IBtmB+qJnxFkLLtFp/ZSpRQ5YV5jJwYEmvTsPVNbLd45frl+ur4afP5cPG6RiTaOHqLQNXaZi1t95f6jQr5dph0=

@fpelliccioni fpelliccioni changed the title Draft Remove the limitation of 25 chained transactions. Feb 12, 2020
@fpelliccioni fpelliccioni changed the title Remove the limitation of 25 chained transactions. Remove the limitation of 25 chained transactions Feb 12, 2020
@fpelliccioni fpelliccioni self-assigned this Feb 12, 2020
@fpelliccioni fpelliccioni added funding wanted Sponsorship is requested for this issue mining mempool enhancement New feature or request labels Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request funding wanted Sponsorship is requested for this issue mempool mining
Projects
None yet
Development

No branches or pull requests

1 participant