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

Stop treating coinbase outputs differently in GUI: show them at 1conf #10221

Merged

Conversation

TheBlueMatt
Copy link
Contributor

@TheBlueMatt TheBlueMatt commented Apr 17, 2017

Follow-on to the now-merged #10178. Untested.

@laanwj
Copy link
Member

laanwj commented Apr 17, 2017

utACK 608bbcc

@TheBlueMatt
Copy link
Contributor Author

@sdaftuar went and tested and realized at least I and a few others had a misunderstanding in #10178 - the intended goal of all this logic is to hide orphaned coinbases, but it, as far as I can tell, was always broken in >1 block reorgs (even prior to #10178), and I'm still dubious about having this logic in order to have that behavior - how is a coinbase transaction paying you getting orphaned any different from any other transaction paying you getting conflicted - it seems crazy to hide such transactions entirely because they got orphaned.

@sipa
Copy link
Member

sipa commented Apr 18, 2017

I assume the original reason (whether it worked or not) was because a reorg will always kill a coinbase payout, while normal transactions (in non-adverserial situations) will just migrate to the new chain.

@TheBlueMatt
Copy link
Contributor Author

@sipa yes, I assume it predated conflicted tagging transactions. Now that we have conflict tracking, I'd still say we should remove it.

@sipa
Copy link
Member

sipa commented Apr 18, 2017

Concept ACK

@TheBlueMatt Sure, I was just speculating why this logic existed specifically for coinbases and not other transactions.

@jonasschnelli
Copy link
Contributor

@jonasschnelli jonasschnelli merged commit 608bbcc into bitcoin:master Apr 19, 2017
jonasschnelli added a commit that referenced this pull request Apr 19, 2017
… them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 21, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 21, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 22, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 22, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 22, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 22, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request May 23, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request May 28, 2019
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
barrystyle pushed a commit to PACGlobalOfficial/PAC that referenced this pull request Jan 22, 2020
…I: show them at 1conf

608bbcc [qt] Stop treating coinbase outputs differently: show them at 1conf (Matt Corallo)

Tree-SHA512: 62ba10520da8b83cf8e97c86dec3ccdcca8b7bfae0174d1a4099d33aa5d11933cc7c248394bf67c2b105211cf7931955816c741957832e703211030c7f4f002f
random-zebra added a commit to random-zebra/PIVX that referenced this pull request Feb 18, 2021
…background thread

6cecb7b AddToWalletIfInvolvingMe should test pIndex, not posInBlock (furszy)
73499ff Add missing lock in CScheduler::AreThreadsServicingQueue() (Matt Corallo)
6d1a60e ValidationInterface compiler warning fix (furszy)
9e523a7 Fix shutdown in case of errors during initialization (Wladimir J. van der Laan)
207c17f Expose if CScheduler is being serviced, assert its not in EmptyQueue (Matt Corallo)
64c525b Otherwise threads will try to continue modifying data structures while the dump process is being executed. (Matt Corallo)
8022463 Support more than one CScheduler thread for serial clients (Matt Corallo)
6532fca Add default arg to CScheduler to schedule() a callback now (Matt Corallo)
d583d12 Give CMainSignals a reference to the global scheduler so that it can run some signals in the background later (Matt Corallo)
c26d18c Remove unused NotifyTransactionLock signal. (furszy)
2c9de45 Remove unused UpdatedTransaction signal and connected slot. (furszy)
8f38657 make ConnectBlock static in validation.cpp (furszy)

Pull request description:

  Another step forward in the wallet signals processing in the background thread + node validation <--> wallet separation long working paths.

   Adapting:
   * bitcoin#10178
   * bitcoin#10179
   * bitcoin#10221
   * bitcoin#10914
   * bitcoin#11783
   * Plus added an extra cleanup to the validation interface removing unused `NotifyTransactionLock` signal and its respective slots.

ACKs for top commit:
  Fuzzbawls:
    ACK 6cecb7b
  random-zebra:
    ACK 6cecb7b and merging...

Tree-SHA512: ac1c128cb3e4ec47c2803da68ca4d4b16164687fc790f3cc1d0761e73bd61b4edc681e2ce045e52564dd13a8279495e9058a6aae316196bd7ad9c97a07dd0b20
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants