Search content
Sort by

Showing 20 of 11,916 results by achow101
Post
Topic
Board Development & Technical Discussion
Merits 4 from 3 users
Re: Proof of Work transaction puzzle, based on DER signature size
by
achow101
on 21/07/2025, 05:05:12 UTC
⭐ Merited by ABCbits (2) ,stwenhao (1) ,vapourminer (1)
From my admittedly rudimentary understanding of Shor's algorithm, computing the discrete log of small curve points shouldn't be any easier than computing the discrete log of any other curve point. It's still bounded by the fact that the order of the curve is 256 bits. What you'd actually need is a curve whose order is fewer bits, which Bitcoin doesn't support.
Post
Topic
Board Development & Technical Discussion
Merits 2 from 1 user
Re: Removing OP_return limits seems like a huge mistake
by
achow101
on 21/07/2025, 04:48:01 UTC
⭐ Merited by d5000 (2)
In addition: One of the reasons why the witness discount (data in the witness has 4x less weight) was applied is the idea that witness data can be aggregated in the future, making blocks smaller.
If you're talking about signature aggregation, that would require another format change, so usage within the current witness data wouldn't really make a difference.
Post
Topic
Board Bitcoin Technical Support
Topic OP
MOVED: Do I need to create Proof-of-Activity for recovering lost coins from Blockchain
by
achow101
on 17/07/2025, 16:54:58 UTC
Post
Topic
Board Bitcoin Technical Support
Topic OP
MOVED: question about receiving btc on different addresses
by
achow101
on 12/07/2025, 21:28:55 UTC
Post
Topic
Board Bitcoin Technical Support
Topic OP
MOVED: Bias Weakness in Transactions – Lattice Attack Possible?
by
achow101
on 26/06/2025, 05:05:32 UTC
Post
Topic
Board Bitcoin Technical Support
Re: No wallet in Bitcoin Core 29.0?
by
achow101
on 21/06/2025, 20:42:08 UTC
Bitcoin Core has not automatically created a wallet on startup for several versions now. You must explicitly choose to create a wallet by using either the createwallet RPC or through the GUI with the "Create Wallet" menu option or the button that appears when no wallets are loaded.
Post
Topic
Board Development & Technical Discussion
Merits 3 from 3 users
Re: Bitcoin Core October Upgrade
by
achow101
on 21/06/2025, 20:40:42 UTC
⭐ Merited by _act_ (1) ,ABCbits (1) ,vapourminer (1)
If there is upgrade to Bitcoin Core, is it possible for the Bitcoin Core developers to make some changes mandatory for the non-Core users?
No.

Policy changes have no effect on the policy rules that other nodes may choose to follow. Consensus changes would be the only changes the could "require" other node software to follow suit, but even then, it's still up to the node operators to decide which consensus rules they want to follow by choosing which software they wish to run.
Post
Topic
Board Development & Technical Discussion
Merits 4 from 4 users
Re: What exactly is the maximum message length in OP_RETURN?
by
achow101
on 18/06/2025, 18:04:22 UTC
⭐ Merited by garlonicon (1) ,ABCbits (1) ,vapourminer (1) ,Mia Chloe (1)
There are no consensus restrictions on outputs, other than the overall block weight limit. An output can contain any opcodes, even invalid ones, and it can contain an unlimited number of them, until the block weight limit is reached. The only time an output script has any consensus validation done on it is when it is being spent.

Within the standardness rules, the upcoming v30.0 Bitcoin Core release removes the limit by default. Of course, the actual size is still bound by the transaction weight limit standardness rule of 400000 weight units, and the block weight limit if standardness is being bypassed.
Post
Topic
Board Bitcoin Technical Support
Re: Is there a way to broadcast a non-standard anyone-can-spend P2SH transaction
by
achow101
on 15/06/2025, 19:38:56 UTC
Other than that error message, what makes you think the transaction is non-standard?

That error message, although is emitted by standardness checks, does not necessarily mean that the transaction is non-standard. It is often also seen when the transaction is signed incorrectly.
Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: An approach to recover change addresses from old wallet.dat backups
by
achow101
on 14/06/2025, 01:58:20 UTC
⭐ Merited by vapourminer (1)
I didn't completely understand your point about 'change detection' breaking by using this method. Can you elaborate?
Determining whether an address is change is done by some data being missing from the address book. Explicitly importing a change address will set that data, which means that the address will no longer be considered change. This results in some transactions being shown in a confusing manner where change is shown as a new incoming output rather than elided as change.
Post
Topic
Board Development & Technical Discussion
Merits 16 from 7 users
Re: QC threat on electrum "spawnable" type wallets vs old wallet.dat
by
achow101
on 13/06/2025, 18:17:23 UTC
⭐ Merited by pooya87 (4) ,NotATether (3) ,vapourminer (2) ,nc50lc (2) ,ABCbits (2) ,mcdouglasx (2) ,garlonicon (1)
Because if you've got someone's public keys, couldn't you use those to try to derivate the master private key?
No.

Deriving child keys involves hashing the parent key with the index and then adding the public key of that hash to the parent key. The important component in this is knowing the parent key. For hardened derivation, you need to know the parent private key. For unhardned, just the public key. Either way, without knowing information about the parent key, you don't know what points or private keys were added together to form the child key. Quantum computers won't help you with that.
Post
Topic
Board Development & Technical Discussion
Topic OP
MOVED: 反对修改!
by
achow101
on 12/06/2025, 17:06:44 UTC
Post
Topic
Board Development & Technical Discussion
Re: An approach to recover change addresses from old wallet.dat backups
by
achow101
on 11/06/2025, 18:35:31 UTC
You're talking about a different case where you have a backup of the latest wallet. Which doesn't match the scenario I've stated.
No, I'm talking about a backup of a HD wallet, made at any time.

I have, in fact, either written or reviewed all of the Bitcoin Core wallet code .
Post
Topic
Board Bitcoin Technical Support
Merits 14 from 7 users
Re: Can I check my bitcoin balance without the Internet
by
achow101
on 11/06/2025, 06:28:48 UTC
⭐ Merited by LoyceV (4) ,pooya87 (4) ,ABCbits (2) ,Charles-Tim (1) ,hosemary (1) ,DireWolfM14 (1) ,BitMaxz (1)
Technically, you can, within some limit of "recent".

If you have a copy of the UTXO set, you can do a balance check even if you are not online. However, this copy of the UTXO set becomes outdated the moment another block is found, although for many people, being within a couple days is most likely okay.

Even so, with a UTXO set copy, you're looking at something that is on the order of several GB of data, which will have to be downloaded from somewhere at some point in time.

Otherwise, any claims of checking a balance offline is probably a scam.
Post
Topic
Board Development & Technical Discussion
Merits 5 from 2 users
Re: An approach to recover change addresses from old wallet.dat backups
by
achow101
on 11/06/2025, 00:53:01 UTC
⭐ Merited by pooya87 (4) ,nc50lc (1)
This guide makes no sense. There is no need to call importaddress for every change address; all of the change addresses are already, or will be, in the wallet after keypoolrefill. All that will probably happen is that you confuse users because any of the change that is detected via the import will be shown as watchonly first, until the private key is generated.

If you have a backup of your wallet, all you have to do is perform a rescan. Hell, most of the time you don't even need to explicitly rescan because the wallet will rescan by itself when it sees it is not up to the chain tip. You literally just have to load it and wait.
Post
Topic
Board Development & Technical Discussion
Merits 24 from 9 users
Re: Is the proposed BIP 360 the correct way to achieve quantum attack resistance?
by
achow101
on 07/06/2025, 17:51:04 UTC
⭐ Merited by d5000 (5) ,gmaxwell (5) ,vapourminer (4) ,ABCbits (4) ,NotFuzzyWarm (2) ,stwenhao (1) ,DireWolfM14 (1) ,Charles-Tim (1) ,Mia Chloe (1)
From what I can tell, Hunter is not a cryptographer, so I take this proposal with a very large grain of salt. It seems though, because he is not a cryptographer, the proposal does not choose 1 signature scheme, but rather gives users the option to choose from many. I think that's a bad idea as expecting users to understand the tradeoffs between different cryptosystems is fundamentally untenable. From a cursory reading, if one of those cryptosystems were broken, user funds could be significantly at risk. This proposal to me seems to be written by someone who strongly cares about quantum security, but is not a cryptographer so went with the classic "we do all these different cryptography things so it must be secure!"
Post
Topic
Board Bitcoin Technical Support
Merits 14 from 2 users
Re: Help with legacy wallet.dat recovery (bounty)
by
achow101
on 03/06/2025, 22:22:46 UTC
⭐ Merited by LoyceV (12) ,ABCbits (2)
I have a question: will this wallet-manipulator implementation workfor recovering descriptor wallets as well or only legacy wallet.dat files?
Yes, it can export from descriptor wallets.

Do descriptor wallet.dat files store any WIF private keys?
Not in a way that you would expect or would get useful results from.

The default mode of operation for descriptor wallets is to have a descriptor which contains a xprv from which the keys for the addresses in the wallet are derived. However, the derived keys are not stored in the wallet like they are for descriptor wallets. Instead, they are derived from the xprv when needed.

The xprv itself is not actually stored as an xprv. The actual private key component of the xprv is stored separately in the same format used for storing private keys that legacy wallets used. The xprv is essentially reconstructed at derivation time by taking the xpub in the descriptor and swapping out the pubkey for the privkey. So if you were to parse the records of descriptor wallet naively, you could create a WIF key that corresponds to the private key component of the xprv. But this WIF key would be absolutely useless to you as it is not directly used as the private key for any of your wallet's addresses, and it is not enough information to derive any of the actual private keys (you need the chaincode from the xpub to do derivation).

If your wallet has a descriptors for things that have the key directly in them rather than deriving keys, then yes, you would be able to get the WIF and have them be usable. But this really only happens if you import those things yourself, or if you migrated a pre-HD legacy wallet.

wallet-manipulator won't be exporting the keys for descriptors as WIF. It will instead reconstruct the descriptors with the full xprv so that users don't shoot themselves in the foot.
Post
Topic
Board Bitcoin Technical Support
Merits 16 from 6 users
Re: Help with legacy wallet.dat recovery (bounty)
by
achow101
on 02/06/2025, 19:01:21 UTC
⭐ Merited by LoyceV (6) ,ABCbits (5) ,Cricktor (2) ,RickDeckard (1) ,nc50lc (1) ,ranochigo (1)
I started writing a modern pywallet replacement that may work: https://github.com/achow101/wallet-manipulator. You should be able to install it with pip install . and then the wallet-manipulator should be available. You can then export your private keys with
Code:
wallet-manipulator <path to file> export privkeys

You can use an additional --importable option after export to get json formatted output that can be dropped directly into a Bitcoin Core importdescriptors command.

However, since you said that these files are recovered rather than the original files, this may not get all of your private keys nor will it necessarily be able to even read the files. It uses my own implementation of a BDB file parser and it generally requires that the file is properly formatted. In possible corruption scenarios, it may not behave as expected.
Post
Topic
Board Development & Technical Discussion
Topic OP
MOVED: Did I bust CW out here with one tweet? (SN Escrow & SC discussion)
by
achow101
on 20/05/2025, 21:25:31 UTC
Post
Topic
Board Wallet software
Topic OP
MOVED: Coinbase wallet - recovery phrase
by
achow101
on 20/05/2025, 21:25:19 UTC