Bitcoin Core Github
44 subscribers
121K links
Download Telegram
📝 polespinasa opened a pull request: "rpc: print P2WSH redeemScript in getrawtransaction"
(https://github.com/bitcoin/bitcoin/pull/31252)
This PR is motivated by https://github.com/bitcoin/bitcoin/issues/27391.
And inspired by a previous PR https://github.com/bitcoin/bitcoin/pull/8849 that proposed something similar.

This issue is partially solved as this PR only prints P2WSH (for the moment, I will try to work on P2SH).

This is an example with a real mainnet transaction (3-5 multisig) and using ``decoderawtransaction`` (also works for ``getrawtransaction 'raw' 1``).

```
{
"txid": "6346e552f62281314dfeace8f977e056f2
...
📝 polespinasa converted_to_draft a pull request: "rpc: print P2WSH witScript in getrawtransaction"
(https://github.com/bitcoin/bitcoin/pull/31252)
This PR is motivated by https://github.com/bitcoin/bitcoin/issues/27391.
And inspired by a previous PR https://github.com/bitcoin/bitcoin/pull/8849 that proposed something similar.

This issue is partially solved as this PR only prints P2WSH (for the moment, I will try to work on P2SH).

This is an example with a real mainnet transaction (3-5 multisig) and using ``decoderawtransaction`` (also works for ``getrawtransaction 'raw' 1``).

```
{
"txid": "6346e552f62281314dfeace8f977e056f2
...
🤔 furszy reviewed a pull request: "bench: add support for custom data directory"
(https://github.com/bitcoin/bitcoin/pull/31000#pullrequestreview-2422157240)
@maflcko, have tried a good number of different mechanisms to catch the error but didn't have much luck in the CI. `ctest` seems to be swallowing the error there. It occurs on a different place, not at the initial root directory creation. It probably occurs in one of the blk**.dat or the ldb files, they are also created inside the `TestChain100Setup` constructor.

Still, we could at least move forward with something like
https://github.com/bitcoin/bitcoin/pull/31000/commits/fd5b9fc36879ead0ef
...
💬 TheCharlatan commented on pull request "rpc: Remove submitblock pre-checks":
(https://github.com/bitcoin/bitcoin/pull/31175#issuecomment-2463233587)
Updated e742d66b1c77a90de502c45b452184b183b3778c -> b83d509d59dde352054cccf792d28bb87835e64f ([submitblock_prechecks_0](https://github.com/TheCharlatan/bitcoin/tree/submitblock_prechecks_0) -> [submitblock_prechecks_1](https://github.com/TheCharlatan/bitcoin/tree/submitblock_prechecks_1), [compare](https://github.com/TheCharlatan/bitcoin/compare/submitblock_prechecks_0..submitblock_prechecks_1))


* Addressed @mzumsande's [comment](https://github.com/bitcoin/bitcoin/pull/31175#pullrequestrevi
...
👍 TheCharlatan approved a pull request: "Package validation: accept packages of size 1"
(https://github.com/bitcoin/bitcoin/pull/31096#pullrequestreview-2422181431)
Re-ACK d120154d55451b6c90b709a4a093cbb6cabe48d8

Added improved rpc help and unit test case since last review.
💬 mzumsande commented on pull request "rpc: Remove submitblock pre-checks":
(https://github.com/bitcoin/bitcoin/pull/31175#discussion_r1833399181)
submit `no_tx_block` instead of `bad_block` here, and if I remember correctly from yesterday, that will lead to a different error.
💬 darosior commented on pull request "descriptor: Add proper Clone function to miniscript::Node":
(https://github.com/bitcoin/bitcoin/pull/30866#discussion_r1833440825)
More smartpointy less segfaulty:
```diff
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp
index 6053c853bb..b099fdfc3f 100644
--- a/src/script/descriptor.cpp
+++ b/src/script/descriptor.cpp
@@ -1360,7 +1360,7 @@ public:
for (const auto& arg : m_pubkey_args) {
providers.push_back(arg->Clone());
}
- return std::make_unique<MiniscriptDescriptor>(std::move(providers), miniscript::MakeNodeRef<uint32_t>(m_node->Clone()));
+ retu
...
💬 achow101 commented on pull request "descriptor: Add proper Clone function to miniscript::Node":
(https://github.com/bitcoin/bitcoin/pull/30866#discussion_r1833445876)
Thanks, taken.
💬 achow101 commented on pull request "descriptor: Add proper Clone function to miniscript::Node":
(https://github.com/bitcoin/bitcoin/pull/30866#issuecomment-2463344981)
> I wrote a regression unit test for this: [darosior@d23ffe0](https://github.com/darosior/bitcoin/commit/d23ffe08ef42475dcd40a13857cd775ac98e0270).

Added the test commit as well.
💬 TheCharlatan commented on pull request "rpc: Remove submitblock pre-checks":
(https://github.com/bitcoin/bitcoin/pull/31175#discussion_r1833458457)
Sorry, fixed. Makes me even less certain on keeping the coinbase error around. I'll sleep on it.
📝 threewebcode opened a pull request: "fix: recitfy typos"
(https://github.com/bitcoin/bitcoin/pull/31253)
<!--
*** Please remove the following help text before submitting: ***

Pull requests without a rationale and clear improvement may be closed
immediately.

GUI-related pull requests should be opened against
https://github.com/bitcoin-core/gui
first. See CONTRIBUTING.md
-->

<!--
Please provide clear motivation for your patch and explain how it improves
Bitcoin Core user experience or Bitcoin Core developer experience
significantly:

* Any test improvements or new tests that improv
...
💬 NicolasDorier commented on pull request "wallet: Be able to receive and spend inputs involving MuSig2 aggregate keys":
(https://github.com/bitcoin/bitcoin/pull/29675#issuecomment-2463719253)
Given BIP373 doesn't have test vectors, it would be very useful that either this PR or the BIP include some hard coded PSBT examples to ensure every implementations are on the same page.
💬 vasild commented on pull request "fuzz: fix bad alloc in connman target":
(https://github.com/bitcoin/bitcoin/pull/31235#discussion_r1833763202)
I am fine either way and slightly prefer the softer approach of capping it to 100 instead of asserting that it is <=100. There was a discussion some time ago about crashing the program way too easily and reserving the assert/crash only for cases where the continuation of the program really does not make sense. I kind of agree with that.

Yes, `Assume()` is some middle ground between `assert()` and the softer approach. `Assume()` + cap in release builds looks reasonable to me too. Plus document
...
👍 rkrux approved a pull request: "Update manpage descriptions"
(https://github.com/bitcoin/bitcoin/pull/29686#pullrequestreview-2422844752)
tACK 47f50c7af5572520fd986b313a63a44a76d3c859

Successful make and functional tests. Certainly an improvement for all the executables we have. I generated the man pages for all 6 of them and verified the contents using `man ./doc/man/<executable-name>.1`. Also, compiled and ran the GUI & checked the help section over there. PFB the screenshots from my setup.

<img width="789" alt="Screenshot 2024-11-08 at 12 22 09 PM" src="https://github.com/user-attachments/assets/0db4fa0c-5be0-4f70-b7ca-68
...
💬 rkrux commented on pull request "Update manpage descriptions":
(https://github.com/bitcoin/bitcoin/pull/29686#issuecomment-2463916912)
@willcl-ark I just realised it would be great to commit the newly generated man pages here? https://github.com/bitcoin/bitcoin/tree/master/doc/man

There are already outdated man pages in that directory, might as well update them now.
⚠️ thonypony opened an issue: "Proposal: Implement HD Address Generation Mechanism for Outgoing Transactions"
(https://github.com/bitcoin/bitcoin/issues/31254)
### Please describe the feature you'd like to see added.

HD addressing is just a system for generating new addresses from a single seed. Currently, it automatically generates new addresses only for incoming transactions.

Suggestion/Question: Why not implement the same simple system of generating new addresses from a single seed for outgoing transactions? This could enhance privacy by automatically using a new sending address for each outgoing transaction, similar to how new receiving addres
...
maflcko closed an issue: "Proposal: Implement HD Address Generation Mechanism for Outgoing Transactions"
(https://github.com/bitcoin/bitcoin/issues/31254)
💬 maflcko commented on issue "Proposal: Implement HD Address Generation Mechanism for Outgoing Transactions":
(https://github.com/bitcoin/bitcoin/issues/31254#issuecomment-2463936815)
It is not possible to change a given prevout's output script.

Usually the issue tracker is used to track technical issues related to the Bitcoin Core code base.

General bitcoin questions and/or support requests are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com) or the `#bitcoin` IRC channel on Libera Chat, or one of the Bitcoin subreddits, or any other place that you feel is well suited.

Network-wide consensus and/or P2P changes first need to be discusse
...
💬 i-am-yuvi commented on pull request "net, init: derive default onion port if a user specified a -port":
(https://github.com/bitcoin/bitcoin/pull/31223#issuecomment-2463949135)
Concept ACK