<bitcoin-git>
[bitcoin] dergoegge opened pull request #31073: ci: Split out native fuzz jobs for macOS and windows (master...2024-10-native-fuzz) https://github.com/bitcoin/bitcoin/pull/31073
abubakarsadiq has joined #bitcoin-core-dev
jonas has joined #bitcoin-core-dev
preimage has joined #bitcoin-core-dev
andrewtoth has joined #bitcoin-core-dev
furszy has quit [Changing host]
furszy has joined #bitcoin-core-dev
Guyver2 has left #bitcoin-core-dev [Closing Window]
kevkevin has quit [Remote host closed the connection]
kevkevin has joined #bitcoin-core-dev
jonas has quit [Quit: Client closed]
kevkevin has quit [Remote host closed the connection]
VonNaturAustreVe has quit [Read error: Connection reset by peer]
VonNaturAustreVe has joined #bitcoin-core-dev
VonNaturAustreVe has joined #bitcoin-core-dev
jonatack has quit [Ping timeout: 255 seconds]
jonatack has joined #bitcoin-core-dev
jonatack has quit [Read error: Connection reset by peer]
abubakarsadiq has quit [Quit: Connection closed for inactivity]
jonatack has joined #bitcoin-core-dev
brunoerg has quit [Remote host closed the connection]
<Chris_Stewart_5>
I'm trying to udnerstand the 'createwalletdescriptor' in v28, is the purpose of this to upgrade pre-descriptor wallets (that implicitly use berkleydb as a db?) to a descriptor wallet
<Chris_Stewart_5>
I'm trying to test this scenario, so try to create a non-descriptor wallet, but get an error saying that 'BDB wallet creation is deprecated and will be removed in a future release' when attempting to create a pre-descriptor wallet
<Chris_Stewart_5>
There is some guidance sayign to use '-deprecatedrpc=create_bdb'. But is this RPC only going to stick around for a few versions as a migration RPC and then be deprecated / removed ?
<sipa>
Chris_Stewart_5: my understanding is that it for upgrading descriptor pre-taproot wallets to support taproot
<Chris_Stewart_5>
sipa: How tightly coupled is this with the bdb -> sqlite3 upgrade? It seems like the descriptor upgrade implicitly means you are now using sqlite3? Is that correct?
<bitcoin-git>
[bitcoin] ryanofsky opened pull request #31074: util: Check bilingual_str format strings at compile time (master...pr/bicheck) https://github.com/bitcoin/bitcoin/pull/31074
<sipa>
Chris_Stewart_5: in practice yes; legacy = BDB, descriptor = SQLite
<Chris_Stewart_5>
ok thanks!
<sipa>
Chris_Stewart_5: you can convert a legacy wallet to a descriptor wallet using the migratewallet RPC; that's unrelated to createwalletdescriptor, which is about adding descriptors to an existing descriptor wallet
brunoerg has joined #bitcoin-core-dev
<Chris_Stewart_5>
Hmm. Perhaps I still don't understand. If my wallet was currently loaded with a descriptor like this 'pk(xpub68NZiKmJWnxxS6aaHmn81bvJeTESw724CRDs6HbuccFQN9Ku14VQrADWgqbhhTHBaohPX4CjNLf9fq9MYo6oDaPPLPxSb7gwQN3ih19Zm4Y/0)', and then i call 'createdescriptorwallet bech32', that would create a
<Chris_Stewart_5>
wpkh((xpub68NZiKmJWnxxS6aaHmn81bvJeTESw724CRDs6HbuccFQN9Ku14VQrADWgqbhhTHBaohPX4CjNLf9fq9MYo6oDaPPLPxSb7gwQN3ih19Zm4Y/0)' in the wallet?
<sipa>
something like that, i think
brunoerg has quit [Ping timeout: 252 seconds]
Guest20 has joined #bitcoin-core-dev
Guest20 has quit [Client Quit]
<Chris_Stewart_5>
Hmm i'll just have to wait for achow101 to be back, but AFAICT we by default create all address type descriptors via the 'createwallet' RPC? I'm attempting to use 'createwalletdescriptor' but end up getting this error for all address types 'Error -4: Descriptor already exists' so I think i'm missing something
<achow101>
Chris_Stewart_5: createwalletdescriptor is separate from legacy -> descriptor migration
<achow101>
it's for adding new autogenerated descriptors without having to write them all out by hand
<achow101>
if you don't give it a key to use, it will use the key that all other active descriptors use. active means that the descriptor is used by getnewaddress to output a new address
<achow101>
createwallet already creates all address types when it makes a new wallet
<achow101>
createwalletdescriptor is mainly useful if you created a blank wallet, or if you made a descriptor wallet before taproot activated, which is really just 0.21
<Chris_Stewart_5>
Thank you! I didn't think of the blank setting.
bugs_ has quit [Quit: Leaving]
preimage has quit [Quit: WeeChat 4.4.2]
<sipa>
achow101: if you migrate a legacy wallet, does it get taproot descriptors?
<achow101>
sipa: yes
<achow101>
migrating generates a whole new set of active descriptors that are independent of the original keys
jonatack has quit [Ping timeout: 255 seconds]
jonatack has joined #bitcoin-core-dev
jonatack has quit [Excess Flood]
jonatack has joined #bitcoin-core-dev
runnerelektrode_ has quit [Ping timeout: 248 seconds]
runnerelektrode_ has joined #bitcoin-core-dev
S3RK_ has joined #bitcoin-core-dev
eval-exec has quit [Remote host closed the connection]