Skip to content

Conversation

@maflcko
Copy link
Member

@maflcko maflcko commented May 22, 2020

Make it interruptible, so that shutdown doesn't block for up to one hour.

Fixes (partially) #13217

@maflcko
Copy link
Member Author

maflcko commented May 22, 2020

Can be tested with the cli:

$ ./src/bitcoin-cli -datadir=/run/media/marco/b_re/TEMP_del//bt gettxoutsetinfo 
error code: -9
error message:
Shutting down

@Empact
Copy link
Contributor

Empact commented May 22, 2020

Code Review ACK fa75692

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Concept ACK.

@hebasto
Copy link
Member

hebasto commented May 23, 2020

@MarcoFalke mind looking into #17659 ?

@hebasto
Copy link
Member

hebasto commented May 24, 2020

Concept ACK.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While touching the body of FindScriptPubKey() is it a good chance to make it static?

@laanwj
Copy link
Member

laanwj commented May 26, 2020

Code review ACK fa75692

@maflcko maflcko merged commit 13397dc into bitcoin:master May 26, 2020
@maflcko maflcko deleted the 2005-rpcInterrupt branch May 26, 2020 11:37
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request May 27, 2020
…ible

fa75692 rpc: Make gettxoutsetinfo/GetUTXOStats interruptible (MarcoFalke)
fa7fc5a rpc: factor out RpcInterruptionPoint from dumptxoutset (MarcoFalke)

Pull request description:

  Make it interruptible, so that shutdown doesn't block for up to one hour.

  Fixes (partially) bitcoin#13217

ACKs for top commit:
  Empact:
    Code Review ACK bitcoin@fa75692
  laanwj:
    Code review ACK fa75692

Tree-SHA512: 298261e0ff7d79fab542b8f6828cc0ac451cbafe396d5f0816c9d36437faba1330f5c4cb2a25c5540e202bfb9783da6ec858bd453056ce488d21e36335d3d42c
maflcko pushed a commit that referenced this pull request Jul 14, 2020
314b49b gui: Fix regression in GUI console (Hennadii Stepanov)

Pull request description:

  The regression was introduced in #19056: if the GUI is running without `-server=1`, the `*txoutset*` call in the console returns "Shutting down".

  Fix #19255.

ACKs for top commit:
  ryanofsky:
    Code review ACK 314b49b. Only change since last review is rebase

Tree-SHA512: 8ff85641a5c249858fecb1ab69c7a1b2850af651ff2a94aa41ce352b5b5bc95bc45c41e1767e871b51e647612d09e4d54ede3e20c313488afef5678826c51b62
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 14, 2020
314b49b gui: Fix regression in GUI console (Hennadii Stepanov)

Pull request description:

  The regression was introduced in bitcoin#19056: if the GUI is running without `-server=1`, the `*txoutset*` call in the console returns "Shutting down".

  Fix bitcoin#19255.

ACKs for top commit:
  ryanofsky:
    Code review ACK 314b49b. Only change since last review is rebase

Tree-SHA512: 8ff85641a5c249858fecb1ab69c7a1b2850af651ff2a94aa41ce352b5b5bc95bc45c41e1767e871b51e647612d09e4d54ede3e20c313488afef5678826c51b62
Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Dec 10, 2020
Summary:
```
Make it interruptible, so that shutdown doesn't block for up to one
hour.
```

Backport of core [[bitcoin/bitcoin#19056 | PR19056]] and [[bitcoin/bitcoin#19323 | PR19323]] (bugfix).

Test Plan:
  ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8645
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
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.

6 participants