multiprocess: Add bitcoin-gui -ipcconnect option #19461

pull ryanofsky wants to merge 18 commits into bitcoin:master from ryanofsky:pr/ipc-gui changing 72 files +2399 −107
  1. ryanofsky commented at 7:00 pm on July 7, 2020: contributor

    This is a draft PR because it is based on #29409 + #10102. The non-base commits are:


    Building on #10102, this adds an -ipcconnect option to bitcoin-gui that connects the GUI to an existing bitcoin-node process already running in the background instead of spawning a new bitcoin-node process. This allows the GUI to be started and stopped independently of the node. By default with this change, bitcoin-gui will check if a <datadir>/sockets/node.sock socket exists and try to connect to that. If that doesn’t work, it will spawn a new node process and start up the same way it did before this PR.

    The default bitcoin-gui connect option is -ipcconnect=auto, which tries to connect if possible as described above, and spawns a new bitcoin-node process if not possible. Other supported options are -noipcconnect to never connect to an existing node and always spawn a new one, -ipcconnect to require a connection and fail if it can’t be established, and -ipcconnect=unix:<socket> to require a connection and use a custom socket path.

    With this PR, basic functionality works and gui instances can connect and disconnect from a running node. But there are rough edges: If a gui process doesn’t shut down cleanly, the node can see unhandled IpcExceptions, and if node command line options are passed to bitcoin-gui and bitcoin-gui connects to an exiting bitcoin-node process instead of spawning a new one, the node options will be silently ignored.

    These changes require multiprocess support and this PR has no effect unless bitcoin is configured with --enable-multiprocess as described in doc/multiprocess.md


    This PR is part of the process separation project.

  2. DrahtBot added the label Build system on Jul 7, 2020
  3. DrahtBot added the label Docs on Jul 7, 2020
  4. DrahtBot added the label GUI on Jul 7, 2020
  5. DrahtBot added the label P2P on Jul 7, 2020
  6. DrahtBot added the label RPC/REST/ZMQ on Jul 7, 2020
  7. DrahtBot added the label Tests on Jul 7, 2020
  8. DrahtBot added the label Utils/log/libs on Jul 7, 2020
  9. DrahtBot added the label Wallet on Jul 7, 2020
  10. DrahtBot commented at 9:06 pm on July 7, 2020: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/19461.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    Concept ACK laanwj, meshcollider

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #31410 (qa: Fix wallet_multiwallet.py by hebasto)
    • #31250 (wallet: Disable creating and loading legacy wallets by achow101)
    • #30997 (build: Switch to Qt 6 by hebasto)
    • #30342 (kernel, logging: Pass Logger instances to kernel objects by ryanofsky)
    • #30080 (wallet: add coin selection parameter add_excess_to_recipient_position for changeless txs with excess that would be added to fees by remyers)
    • #28710 (Remove the legacy wallet and BDB dependency by achow101)
    • #27052 (test: rpc: add last block announcement time to getpeerinfo result by LarryRuane)
    • #26022 (Add util::ResultPtr class by ryanofsky)
    • #25722 (refactor: Use util::Result class for wallet loading by ryanofsky)
    • #25665 (refactor: Add util::Result failure values, multiple error and warning messages by ryanofsky)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  11. laanwj commented at 5:30 pm on July 9, 2020: member
    Concept ACK, I’ve only reviewed the option help yet but -ipcconnect SGTM as option name, it reminds of -rpcconnect of the -cli client.
  12. in src/bitcoin-wallet.cpp:34 in 70aaca9ebe outdated
    29@@ -28,15 +30,18 @@ static void SetupWalletToolArgs()
    30     gArgs.AddArg("-wallet=<wallet-name>", "Specify wallet name", ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, OptionsCategory::OPTIONS);
    31     gArgs.AddArg("-debug=<category>", "Output debugging information (default: 0).", ArgsManager::ALLOW_ANY, OptionsCategory::DEBUG_TEST);
    32     gArgs.AddArg("-printtoconsole", "Send trace/debug info to console (default: 1 when no -debug is true, 0 otherwise).", ArgsManager::ALLOW_ANY, OptionsCategory::DEBUG_TEST);
    33+    if (include_ipc) {
    34+        gArgs.AddArg("-ipcconnect=<address>, -noipcconnect", "Connect to bitcoin-node process in the background to perform online operations. Valid <address> values are 'auto' to try connecting to default socket in <datadir>/sockets/node.sock, but proceed offline if it isn't available, 'unix' to connect to the default socket and fail if it isn't available, 'unix:<socket path>' to connect to a socket at a nonstandard path. Default value: auto", ArgsManager::ALLOW_ANY, OptionsCategory::IPC);
    


    laanwj commented at 6:13 pm on July 9, 2020:
    I think this is the only case of multiple options separated by , inside the first argument of ArgsManager::AddArg. I don’t know if it’s strictly wrong, as it’s not currently parsed in any way, but maybe the idea is to do so in the future. @MarcoFalke?

    maflcko commented at 6:29 pm on July 9, 2020:
    No plans right now to touch the command line help in any way, so this might be fine as is

    ryanofsky commented at 12:50 pm on July 14, 2020:

    re: #19461 (review)

    I think this is the only case of multiple options separated by , inside the first argument of ArgsManager::AddArg. I don’t know if it’s strictly wrong, as it’s not currently parsed in any way, but maybe the idea is to do so in the future. @MarcoFalke?

    Thanks, dropped nonstandard formatting and updated description in base PR #19460. No reason to separately list -no prefix.

  13. DrahtBot added the label Needs rebase on Jul 11, 2020
  14. ryanofsky referenced this in commit 6a48a575d1 on Jul 14, 2020
  15. ryanofsky force-pushed on Jul 14, 2020
  16. ryanofsky commented at 2:18 pm on July 14, 2020: contributor
    Rebased 70aaca9ebecb802f7da4babd27a79a0551225475 -> 4041990fcba01a5c6eb22b827b2220f2bd8ee666 (pr/ipc-gui.1 -> pr/ipc-gui.2, compare) on top of #19460 pr/ipc-connect.3 Rebased 4041990fcba01a5c6eb22b827b2220f2bd8ee666 -> 0714770d6bf52fbf46a50aff298df8ffdf4eb3ff (pr/ipc-gui.2 -> pr/ipc-gui.3, compare) on top of #19460 pr/ipc-connect.4 Rebased 878e11049c97564f81018381b88bf314ce4c4f01 -> 5c05c38c1a6185ee18eaf74948cf28fd1560abf4 (pr/ipc-gui.4 -> pr/ipc-gui.5, compare) on top of #19460 pr/ipc-connect.7 Rebased 5c05c38c1a6185ee18eaf74948cf28fd1560abf4 -> 2b9fbc08cc9f27dd092798b75afa1e2318e749c9 (pr/ipc-gui.5 -> pr/ipc-gui.6, compare) on top of #19460 pr/ipc-connect.8 Rebased 2b9fbc08cc9f27dd092798b75afa1e2318e749c9 -> 6f39b4689aea86283b43add4bdebda11dee4d73e (pr/ipc-gui.6 -> pr/ipc-gui.7, compare) on top of #19460 pr/ipc-connect.9 Rebased 6f39b4689aea86283b43add4bdebda11dee4d73e -> e2e2a06bf91cc321eb7e6cab2c19cfc4984dfe1c (pr/ipc-gui.7 -> pr/ipc-gui.8, compare) on top of #19460 pr/ipc-connect.10 Rebased e2e2a06bf91cc321eb7e6cab2c19cfc4984dfe1c -> 137225d7ba437d7d14e122a3eb35512ef8648041 (pr/ipc-gui.8 -> pr/ipc-gui.9, compare) on top of #19460 pr/ipc-connect.14 Rebased 137225d7ba437d7d14e122a3eb35512ef8648041 -> 871891d38cb3a4b73fa2016de70990f221662d90 (pr/ipc-gui.9 -> pr/ipc-gui.10, compare) on top of #19460 pr/ipc-connect.15 Rebased 871891d38cb3a4b73fa2016de70990f221662d90 -> 4b045d994b82bb24d0cab1efd5488575b9e7851d (pr/ipc-gui.10 -> pr/ipc-gui.11, compare) on top of #19460 pr/ipc-connect.16 due to conflict with bitcoin-core/gui#233 Rebased 4b045d994b82bb24d0cab1efd5488575b9e7851d -> 7cb12b4bc81c7e8978830e427f9d36b8590d9848 (pr/ipc-gui.11 -> pr/ipc-gui.12, compare) on top of #19460 pr/ipc-connect.19 Rebased 7cb12b4bc81c7e8978830e427f9d36b8590d9848 -> e7dfe88e2ab772c4eed939dd5bda53c42827cac8 (pr/ipc-gui.12 -> pr/ipc-gui.13, compare) on top of #19460 pr/ipc-connect.21 Rebased e7dfe88e2ab772c4eed939dd5bda53c42827cac8 -> 4dc8af0440073813101b85360482713c7abc6949 (pr/ipc-gui.13 -> pr/ipc-gui.14, compare) on top of #19460 pr/ipc-connect.22 Rebased 4dc8af0440073813101b85360482713c7abc6949 -> c997272eb0a6c805f098c920d8210221f770672f (pr/ipc-gui.14 -> pr/ipc-gui.15, compare) on top of #19460 pr/ipc-connect.24 due to conflict with bitcoin-core/gui#381 Rebased c997272eb0a6c805f098c920d8210221f770672f -> e23cf8171fdd6e1187731dd2393fcd64469ffd80 (pr/ipc-gui.15 -> pr/ipc-gui.16, compare) on top of #19460 pr/ipc-connect.25 due to conflict with bitcoin-core/gui#434 Rebased e23cf8171fdd6e1187731dd2393fcd64469ffd80 -> f2f33658dddd45477e43bcad749833f6fd336bb2 (pr/ipc-gui.16 -> pr/ipc-gui.17, compare) on top of #19460 pr/ipc-connect.26 Rebased f2f33658dddd45477e43bcad749833f6fd336bb2 -> f8d4a15805296edb365602a37875637610fe77c7 (pr/ipc-gui.17 -> pr/ipc-gui.18, compare) on top of #19460 pr/ipc-connect.28
  17. ryanofsky referenced this in commit f3ace3d21f on Jul 14, 2020
  18. ryanofsky force-pushed on Jul 14, 2020
  19. DrahtBot removed the label Needs rebase on Jul 14, 2020
  20. ryanofsky referenced this in commit 5adf00eb1e on Jul 16, 2020
  21. ryanofsky referenced this in commit 551c50873d on Jul 17, 2020
  22. DrahtBot added the label Needs rebase on Jul 23, 2020
  23. ryanofsky referenced this in commit 1ac160cdfe on Aug 3, 2020
  24. ryanofsky referenced this in commit 134153fc41 on Aug 7, 2020
  25. ryanofsky referenced this in commit 427c8da711 on Aug 17, 2020
  26. ryanofsky referenced this in commit d4bc442797 on Aug 17, 2020
  27. ryanofsky referenced this in commit e133631625 on Aug 26, 2020
  28. maflcko referenced this in commit 93ab136a33 on Aug 26, 2020
  29. sidhujag referenced this in commit 797191d45b on Aug 26, 2020
  30. ryanofsky force-pushed on Aug 28, 2020
  31. DrahtBot removed the label Needs rebase on Aug 28, 2020
  32. DrahtBot added the label Needs rebase on Aug 31, 2020
  33. meshcollider commented at 7:50 pm on September 10, 2020: contributor
    Concept ACK
  34. ajtowns removed the label Build system on Sep 17, 2020
  35. ajtowns removed the label Docs on Sep 17, 2020
  36. ajtowns removed the label P2P on Sep 17, 2020
  37. ajtowns removed the label RPC/REST/ZMQ on Sep 17, 2020
  38. ajtowns removed the label Tests on Sep 17, 2020
  39. ajtowns removed the label Wallet on Sep 17, 2020
  40. ryanofsky force-pushed on Sep 28, 2020
  41. DrahtBot removed the label Needs rebase on Sep 28, 2020
  42. ryanofsky force-pushed on Oct 2, 2020
  43. DrahtBot added the label Needs rebase on Oct 27, 2020
  44. ryanofsky force-pushed on Nov 25, 2020
  45. DrahtBot removed the label Needs rebase on Nov 25, 2020
  46. DrahtBot added the label Needs rebase on Dec 2, 2020
  47. janus referenced this in commit ed6e35e3be on Dec 7, 2020
  48. ryanofsky force-pushed on Dec 12, 2020
  49. DrahtBot removed the label Needs rebase on Dec 12, 2020
  50. Fabcien referenced this in commit c2a9184653 on Dec 14, 2020
  51. DrahtBot added the label Needs rebase on Dec 16, 2020
  52. ryanofsky force-pushed on Feb 4, 2021
  53. DrahtBot removed the label Needs rebase on Feb 4, 2021
  54. DrahtBot added the label Needs rebase on Feb 4, 2021
  55. ryanofsky force-pushed on Feb 22, 2021
  56. DrahtBot removed the label Needs rebase on Feb 22, 2021
  57. DrahtBot added the label Needs rebase on Mar 2, 2021
  58. ryanofsky force-pushed on Mar 10, 2021
  59. DrahtBot removed the label Needs rebase on Mar 10, 2021
  60. DrahtBot added the label Needs rebase on Mar 11, 2021
  61. ryanofsky force-pushed on Apr 11, 2021
  62. DrahtBot removed the label Needs rebase on Apr 11, 2021
  63. laanwj referenced this in commit ac219dcbcc on Apr 27, 2021
  64. DrahtBot added the label Needs rebase on Apr 27, 2021
  65. Sjors commented at 2:22 pm on April 27, 2021: member

    Needs rebase 🎉

    What was the magic incantation again to tunnel a unix socket over SSH? I’ll try if I can run the GUI on a different machine than the node.

  66. ryanofsky force-pushed on Jun 2, 2021
  67. DrahtBot removed the label Needs rebase on Jun 2, 2021
  68. DrahtBot added the label Needs rebase on Jun 9, 2021
  69. ryanofsky force-pushed on Jun 18, 2021
  70. DrahtBot removed the label Needs rebase on Jun 18, 2021
  71. DrahtBot added the label Needs rebase on Jun 23, 2021
  72. ryanofsky force-pushed on Aug 18, 2021
  73. DrahtBot removed the label Needs rebase on Aug 18, 2021
  74. DrahtBot added the label Needs rebase on Sep 24, 2021
  75. ryanofsky force-pushed on Oct 6, 2021
  76. DrahtBot removed the label Needs rebase on Oct 6, 2021
  77. DrahtBot added the label Needs rebase on Oct 15, 2021
  78. ryanofsky force-pushed on Nov 1, 2021
  79. DrahtBot removed the label Needs rebase on Nov 1, 2021
  80. DrahtBot added the label Needs rebase on Nov 10, 2021
  81. ryanofsky force-pushed on Jan 13, 2022
  82. DrahtBot removed the label Needs rebase on Jan 13, 2022
  83. DrahtBot added the label Needs rebase on Jan 31, 2022
  84. uvhw referenced this in commit 47d44ccc3e on Feb 14, 2022
  85. ClaraBara22 approved
  86. ClaraBara22 commented at 6:38 pm on March 21, 2022: none
    Thank you
  87. ryanofsky force-pushed on Sep 27, 2022
  88. DrahtBot removed the label Needs rebase on Sep 27, 2022
  89. DrahtBot added the label Needs rebase on Dec 6, 2022
  90. ryanofsky force-pushed on Feb 11, 2023
  91. DrahtBot removed the label Needs rebase on Feb 11, 2023
  92. Sjors commented at 11:38 am on February 11, 2023: member

    What was the magic incantation again to tunnel a unix socket over SSH? I’ll try if I can run the GUI on a different machine than the node.

    On an Ubuntu 22.10 machine I ran src/bitcoin-node -ipcbind=unix:///tmp/node.sock. I then opened an SSH connection: ssh -L/tmp/remote-node.sock:/tmp/node.sock ubuntu. And then on the mac I connected the GUI: src/bitcoin-gui -ipconnect=unix:///tmp/remote-node.sock

    I connected just after the node caught up on old blocks. It had the most recent block, but the logs show it as 0.999998% finished. The UI displayed a nonsensical status for that:

    Once a new block came in a few minutes later, the sync dialog was correctly dismissed. Also, when I started the node again and it had to sync a bunch of blocks, the progress dialog did work correctly. Except that the ETA was always 0 seconds.

    Other than that, it seems to work. Cool stuff!

    When I exit the GUI and after that stop bitcoind the latter crashes:

     0^C2023-02-11T12:02:40Z [rpc] Interrupting HTTP RPC server
     12023-02-11T12:02:40Z [rpc] Interrupting RPC
     22023-02-11T12:02:40Z tor: Thread interrupt
     32023-02-11T12:02:40Z Shutdown: In progress...
     42023-02-11T12:02:40Z addcon thread exit
     52023-02-11T12:02:40Z [rpc] Stopping HTTP RPC server
     62023-02-11T12:02:40Z torcontrol thread exit
     72023-02-11T12:02:40Z [rpc] Stopping RPC
     82023-02-11T12:02:40Z [rpc] RPC stopped.
     9terminate called after throwing an instance of 'ipc::Exception'
    10  what():  kj::Exception: kj/async-io-unix.c++:304: disconnected: ::read(fd, buffer, maxBytes): Connection reset by peer
    11stack: 7ff9e59af780 5604c599569c 5604c594b366
    12Aborted (core dumped)
    
  93. DrahtBot added the label Needs rebase on Feb 17, 2023
  94. ryanofsky force-pushed on Mar 1, 2023
  95. DrahtBot removed the label Needs rebase on Mar 1, 2023
  96. DrahtBot added the label Needs rebase on Mar 11, 2023
  97. ryanofsky force-pushed on May 3, 2023
  98. DrahtBot removed the label Needs rebase on May 3, 2023
  99. DrahtBot added the label CI failed on May 4, 2023
  100. ryanofsky force-pushed on May 4, 2023
  101. DrahtBot removed the label CI failed on May 4, 2023
  102. Sjors commented at 10:33 am on May 5, 2023: member

    When I exit the GUI and after that stop bitcoind the latter crashes.

    This still happens on 5f91aa3d8b47cee97e625c3b5689a37dbd941eff. Same setup as above: node and wallet running on Ubuntu 23.04 with a GUI client connecting from macOS using a unix socket of SSH.

    But now I’ve notice this happens even if you don’t connect to it, i.e. starting without -ipcbind.

    After letting the chain sync (a few days worth of blocks), I shut it down. At that point the log (on Ubuntu):

     02023-05-05T10:30:24Z UpdateTip: new best=000000000000000000010ed2e719320bb8bdea58868cf0bee4897b33b7c20c14 height=788138 version=0x32b96000 log2_work=94.158122 tx=831696670 date='2023-05-03T20:58:19Z' progress=0.999404 cache=515.2MiB(4072240txo)
     12023-05-05T10:30:29Z Synchronizing blockheaders, height: 788359 (~100.00%)
     2^C2023-05-05T10:30:42Z [rpc] Interrupting HTTP RPC server
     32023-05-05T10:30:42Z [rpc] Interrupting RPC
     42023-05-05T10:30:42Z tor: Thread interrupt
     52023-05-05T10:30:42Z torcontrol thread exit
     62023-05-05T10:30:42Z addcon thread exit
     72023-05-05T10:30:42Z Shutdown: In progress...
     82023-05-05T10:30:42Z opencon thread exit
     92023-05-05T10:30:42Z [rpc] Stopping HTTP RPC server
    102023-05-05T10:30:42Z [rpc] Stopping RPC
    112023-05-05T10:30:42Z [rpc] RPC stopped.
    12terminate called after throwing an instance of 'ipc::Exception'
    13  what():  kj::Exception: kj/async-io-unix.c++:498: disconnected: ::read(fd, buffer, maxBytes): Connection reset by peer
    14stack: 7fb82ba25644 7fb82ba34eab 7fb82b9c41b5 7fb82ba1bdb0 7fb82bb95720 7fb82bb8ec20 7fb82bb92df0 7fb82bbf6b30 7fb82bbf1220 7fb82bbe6cc0 7fb82bbe2800 7fb82bbd25d0 7fb82bbd3084 7fb82bbcf610 564eea2664d0 564eea26ad60
    15Aborted (core dumped)
    

    I then have to restart the node and sync again.

    (update: it’s unrelated to the commits in this PR, I added a comment on #10102 (comment))

  103. Sjors commented at 11:41 am on May 5, 2023: member

    I’m able to produce another crash that may be related to this PR. When using an external signer that’s connected to the Ubuntu machine, and trying to spend with it from the macOs GUI. After I click Sign on device, and hit “send”:

    0Assertion failed: (!complete), function sendButtonClicked, file sendcoinsdialog.cpp, line 525.
    1zsh: abort      src/bitcoin-gui -ipcconnect=unix:///tmp/remote-node.sock
    

    It also crashes if I create a PSBT (options -> wallet -> enable psbt controls) instead, just a different line

    0Assertion failed: (!complete), function sendButtonClicked, file sendcoinsdialog.cpp, line 509.
    

    Both nodes were configured with have --enable-external-signer. I’m able to call enumeratesigners from the console.

    These asserts happen after calling fillPSBT( without signing (This prevents an external from being called prematurely). complete can’t be possibly be true, hence the assert.

  104. ryanofsky commented at 2:44 pm on May 5, 2023: contributor
    Thanks Sjors, I’m trying to reproduce the shutdown error but didn’t succeed yet. Will try again with a mainnet node. I didn’t look into the external signer bug yet, but maybe that is more straightforward. In both cases running with -debug=ipc could make it clearer what’s going on, especially in the shutdown case. Probably what is happening in that case is that some thread is trying make an IPC call after the socket is closed, so an ipc::Exception is raised which is uncaught. Fix might be synchronizing the IPC call & socket close, or just catching the exception and handling it
  105. DrahtBot added the label CI failed on May 14, 2023
  106. DrahtBot removed the label CI failed on May 21, 2023
  107. DrahtBot added the label Needs rebase on May 30, 2023
  108. achow101 marked this as a draft on Sep 20, 2023
  109. knst referenced this in commit 66412c24e7 on Jan 16, 2024
  110. knst referenced this in commit b64c59cc28 on Jan 17, 2024
  111. knst referenced this in commit 1eeef51600 on Jan 19, 2024
  112. knst referenced this in commit 485672a8b7 on Jan 20, 2024
  113. knst referenced this in commit 51cae7a51d on Jan 24, 2024
  114. knst referenced this in commit f9710847a6 on Jan 27, 2024
  115. knst referenced this in commit d59de00282 on Jan 27, 2024
  116. PastaPastaPasta referenced this in commit e269fa44c5 on Jan 31, 2024
  117. knst referenced this in commit 84b33517e3 on Jul 13, 2024
  118. knst referenced this in commit 1c917c76f0 on Jul 15, 2024
  119. knst referenced this in commit 56dd686404 on Jul 16, 2024
  120. knst referenced this in commit 9002342f94 on Jul 23, 2024
  121. knst referenced this in commit a08b66693f on Jul 23, 2024
  122. knst referenced this in commit 040c188de2 on Jul 24, 2024
  123. knst referenced this in commit 172d9d0be4 on Jul 24, 2024
  124. ryanofsky force-pushed on Jul 26, 2024
  125. DrahtBot removed the label Needs rebase on Jul 26, 2024
  126. DrahtBot commented at 10:39 pm on July 26, 2024: contributor

    🚧 At least one of the CI tasks failed. Debug: https://github.com/bitcoin/bitcoin/runs/27980688205

    Make sure to run all tests locally, according to the documentation.

    The failure may happen due to a number of reasons, for example:

    • Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch.

    • A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test.

    • An intermittent issue.

    Leave a comment here, if you need help tracking down a confusing failure.

  127. DrahtBot added the label CI failed on Jul 26, 2024
  128. knst referenced this in commit 3411577473 on Jul 27, 2024
  129. knst referenced this in commit a7993de34b on Aug 3, 2024
  130. knst referenced this in commit aa2d3b8164 on Aug 7, 2024
  131. hebasto added the label Needs CMake port on Aug 16, 2024
  132. DrahtBot added the label Needs rebase on Aug 28, 2024
  133. maflcko removed the label Needs CMake port on Aug 29, 2024
  134. achow101 referenced this in commit df3f63ccfa on Sep 9, 2024
  135. ryanofsky force-pushed on Sep 19, 2024
  136. DrahtBot removed the label Needs rebase on Sep 19, 2024
  137. DrahtBot added the label Needs rebase on Sep 23, 2024
  138. Add capnp serialization code for bitcoin types
    - Add capnp ToBlob, ToArray, Wrap, Serialize, and Unserialize helper functions
    - Add support for std::chrono::seconds capnp serialization
    - Add support for util::Result capnp serialization
    e7619a84bd
  139. Add capnp wrapper for Handler interface 76fd4e56c4
  140. Add capnp wrapper for Chain interface f6c7786c41
  141. multiprocess: Expose Chain interface
    Expose Chain interface to external processes spawning or connecting to
    bitcoin-node.
    64b833854a
  142. ryanofsky force-pushed on Sep 26, 2024
  143. DrahtBot removed the label Needs rebase on Sep 26, 2024
  144. DrahtBot added the label Needs rebase on Nov 21, 2024
  145. Merge remote-tracking branch 'origin/pull/29409/head' bd29e27f5f
  146. test: Increase feature_block.py and feature_taproot.py timeouts
    Needed because BlockConnected notifications are a lot slower with the wallet
    running in separate process.
    392296298a
  147. test: Fix multiprocess test for unclean shutdown on kill 4fd334e5e3
  148. util: Add util::Result workaround to be compatible with libmultiprocess
    Make default constructor more generic so it doesn't only work with void types.
    9f979fcc61
  149. multiprocess: Add capnp serialization code for bitcoin types 9e49448266
  150. multiprocess: Add capnp wrapper for Wallet interface 7c4f3d3678
  151. multiprocess: Add capnp wrapper for Node interface 1aeff1518d
  152. multiprocess: Make bitcoin-gui spawn a bitcoin-node process
    Spawn node subprocess instead of running node code internally
    6880553d09
  153. multiprocess: Make bitcoin-node spawn a bitcoin-wallet process
    Spawn wallet subprocess instead of running wallet code internally
    19fd233b78
  154. multiprocess: Add debug.log .wallet/.gui suffixes
    Add .wallet/.gui suffixes to log files created by bitcoin-gui and
    bitcoin-wallet processes so they don't clash with bitcoin-node log file.
    7e20199b54
  155. doc: Multiprocess misc doc and comment updates 3ec1db0e16
  156. combine_logs: Handle multiprocess wallet log files b57c89793e
  157. Merge remote-tracking branch 'origin/pull/10102/head' 5a865918d6
  158. multiprocess: Add bitcoin-gui -ipcconnect option
    Add `-ipcconnect` option to `bitcoin-gui` to allow connecting gui to an
    existing node instead of starting a new node process, so it is possible to
    start and stop the gui independently of the node.
    
    This change doesn't add an -ipcbind option to the bitcoin-wallet (which would
    allow the gui to control wallet processes without going through the node), but
    this would be a logical extension to add in the future.
    34b714020e
  159. ryanofsky force-pushed on Dec 6, 2024
  160. DrahtBot removed the label Needs rebase on Dec 6, 2024

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-18 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me