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

Update elements to Bitcoin Core version 0.17.0 #398

Closed
30 tasks done
stevenroose opened this issue Aug 8, 2018 · 13 comments
Closed
30 tasks done

Update elements to Bitcoin Core version 0.17.0 #398

stevenroose opened this issue Aug 8, 2018 · 13 comments
Labels

Comments

@stevenroose
Copy link
Member

stevenroose commented Aug 8, 2018

@instagibbs
Copy link
Collaborator

historically we'e rebased on top to keep the history easier to reason about. Open to other strategies of course.

@instagibbs instagibbs changed the title Update elements to Bitcoin Core version 0.16.2 Update elements to Bitcoin Core version 0.17.0 Sep 14, 2018
@instagibbs
Copy link
Collaborator

instagibbs commented Sep 14, 2018

I'm upgrading this to 0.17.0. I'm thinking of a strategy such as:

  1. Take Bitcoin Core 0.17 branch, at .0 release.
    In parallel-ish, using a "wiped history" strategy, apply each cleanly, with configurable flags to stay compatible with Bitcoin:
  2. Apply custom chains++ arguments (testchains)
  3. Apply blocksigning
  4. Apply peg functionality
  5. Apply additional op codes
    After:
  6. CT/CA consensus/policy, with no wallet support
  7. Issuance consensus/policy
  8. CT/CA wallet functionality
    And finally:
  9. Peg-out authorization support

Each part can basically be done simultaneously in reality aside from 4/5, just requiring some serious rebasing.

@jtimon
Copy link
Contributor

jtimon commented Sep 19, 2018

I would like to take 2 and 3.

@instagibbs
Copy link
Collaborator

I'll do 6/7/8.

@stevenroose 4/5 might be good to do.

@instagibbs
Copy link
Collaborator

@jtimon I'm thinking we should also apply 9 on top of the rebase, not before. We should just support script descriptors from the start.

@stevenroose
Copy link
Member Author

@instagibbs Perfect, 4/5 it is! An adventure for sure :)

@instagibbs
Copy link
Collaborator

instagibbs commented Oct 12, 2018

Other assorted tasks:
1) height in header #431
2) mandatory coinbase destination #430
3) connecting coinbase output in genesis block #429
4) Moving scriptWitness back into its own witness structure we can expand with other fields, such as peg_in_witness, output witnesses, etc.
5) Get rid of non-segwit serialization format

@instagibbs
Copy link
Collaborator

instagibbs commented Oct 22, 2018

  1. Parameterize block subsidy (to set it to 0 by default) [0.17] add block subsidy argument to allow different/non-inflation chains #443
  2. "initialfreecoins"
  3. update README
  4. Make block version 5 mandatory
  5. option for always-on-rbf
  6. Audit log
  7. forward port of Fix progress reporting & initialblockdownload Blockstream/liquid#6 and Validation: stop logging fake pow data Blockstream/liquid#8 (with appropriate gating behind g_signed_blocks)

@luke-jr
Copy link
Contributor

luke-jr commented Nov 9, 2018

option for always-on-rbf

Dunno if you'd prefer to rebase this from the old branch, or it might make more sense to just merge txrepl_fullrbf from Knots to simplify?

@dongcarl
Copy link
Contributor

dongcarl commented Nov 9, 2018

@luke-jr this one: bitcoinknots/bitcoin@f5c7ca2?

@luke-jr
Copy link
Contributor

luke-jr commented Nov 9, 2018

See link in above comment

@instagibbs
Copy link
Collaborator

heck if the feature is maintained yes we can just merge it

@instagibbs
Copy link
Collaborator

Closing as completed. Good work everyone!

delta1 pushed a commit to delta1/elements that referenced this issue Apr 11, 2023
… and HD wallet statuses simpler

b8aa84b qt, refactor: Replace `if` check with `assert` (Hennadii Stepanov)
fcdc8b0 qt, refactor: Drop redundant signalling in WalletView::setWalletModel (Hennadii Stepanov)
37dcf16 qt, refactor: Emit WalletView::encryptionStatusChanged signal directly (Hennadii Stepanov)
7d0d4c0 qt: Add WalletFrame::currentWalletSet signal (Hennadii Stepanov)

Pull request description:

  This PR makes signal-slot paths to reach `setHDStatus` and `setEncryptionStatus` functions shorter and easier to reason about them.

  Required to simplify ElementsProject#398 (see bitcoin-core/gui#398 (comment)).

  ---

  **Note for reviewers.** Please verify that "Encrypt Wallet..." menu item, and the following icons

  ![DeepinScreenshot_select-area_20210811202120](https://user-images.githubusercontent.com/32963518/129074601-13fa998a-ac47-4ad2-be00-ba400b12c18a.png)

  and updated properly in each and every possible scenario.

ACKs for top commit:
  jarolrod:
    tACK b8aa84b
  Talkless:
    Code review ACK b8aa84b. Did build on Debian Sid with Qt 5.15.2 but no actual testing performed.
  ryanofsky:
    Code review ACK b8aa84b. Only change since last review was rebase

Tree-SHA512: 275737cdba02baff71049df41bc24089e916f96326dd2dea26ec607c7949cb3aae368eeabbe3ad5a0a27651503a1d65536873726de854c5f6af259bcc29727e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants