New answers tagged

0 votes

Verifying a P2WSH by hand

Also, for the script code, i believe you need to preceed the scriptcode with a byte which indicates the length of the script code,as per BIP143
Alain. Jr's user avatar
1 vote

Why doesn't bitcoin use bech32 encoding for transaction_id and block hash?

Bitcoin has used the same hex encoding for hashes since the very beginning. Any software written since then therefore also expects that same hex encoding. Bech32 was introduced nearly a decade into ...
Ava Chow's user avatar
  • 70.5k
2 votes
Accepted

How do miners manually add transaction to a block template?

Does it work something like this? No, not really. generateblock is a testing only RPC that actually mines a block using the internal CPU miner, itt does not make a block template. So it's completely ...
Ava Chow's user avatar
  • 70.5k
0 votes

How to use Bitcoin Core GUI to view all transaction records of a certain address?

Sorry I thought you were referring to your own address. For others I always search the Bitcoin explorer. I use https://mempool.space/. However if you are searching for the address you posted above ...
Jake Stanton's user avatar
0 votes

Testing new releases privately on selected nodes?

I think you misunderstand how merging pull requests and a Git based release process works on an open source project. A new release is just an old release with a bunch of changes (or pull requests) ...
Michael Folkson's user avatar
0 votes

How does one verify signature in a P2WPKH transaction?

The signature verification algorithm for P2WPKH and P2WSH is specified in BIP143, which also includes a reference C++ implementation. P2WPKH inputs are scriptless so they can't have an ...
Vojtěch Strnad's user avatar
0 votes
Accepted

how to create txid from transaction.json

Calculating TxID convert data into Bitcoin's pre-segwit network serialisation. Taking care not to make any of the most common mistakes: Encode counts/lengths using the Bitcoin variable-length ...
RedGrittyBrick's user avatar
0 votes
Accepted

from which address when I send some bitcoin in bitcoin core?

I got it, options - wallet - enable coin control features. Bitcoin Core v25.0.0
foolbear's user avatar
  • 160
0 votes

Enabling Bitcoin Core Wallet during configuration? Getting "method not found"

I installed sqlite3 libd++-dev libdb-dev and then ran make clean sudo make uninstall Still not getting wallet options on re-running bitcoin-cli help on signet. Not sure what the error is now. ...
lordforever's user avatar
3 votes

I can't parse the UTXO from the chainstate

I got it :_) I used binary.ReadUvarint which not the same as ReadVarint in the Bitcoin Core (https://github.com/bitcoin/bitcoin/blob/0d509bab45d292caeaf34600e57b5928757c6005/src/serialize.h#L465) So ...
Novak's user avatar
  • 41
0 votes

How can I import a private key into a pruned node?

Try this trick: Remove all local block data. Disable Prune. Create a Wallet with disabled private keys(watch only) and disabled Descriptor. importaddress bcrt1xxxxx. Enable prune, restart app, sync ...
foolbear's user avatar
  • 160
1 vote
Accepted

Where is the data directory from the initial Bitcoin Core Welcome prompt saved on a Mac?

The configuration is saved as key 'strDataDir' of /Users/xxx/Library/Preferences/org.bitcoin.Bitcoin-Qt.plist in Mac.
foolbear's user avatar
  • 160
0 votes

Are there public RPC node providers?

NOWNodes here to provide public RPC nodes for BTC/BSV/BCH/BTG. You could check here our list of 100+
Jeremy NOWNodes's user avatar
0 votes

Import old paper backup (WIF private key) into modern Bitcoin-QT

importprivkey only works on legacy wallets, so you need create a legacy wallet and then import the private key succ. create a new wallet with descriptor wallet unchecked. go to console and ...
foolbear's user avatar
  • 160
2 votes

Using Bitcoin Core Regtest in classroom

You could consider using a custom signet instead. Other than regtest, it’s not a sandbox environment, but an actual network. I think you should for example not need to change ports for signet. You’d ...
Murch's user avatar
  • 75.4k
0 votes

Bitcoin node GUI shutting down right away

I would Navigate to the Bitcoin data directory. Usually %APPDATA%\Bitcoin\ on Windows. Have a look at the end of the log file (debug.log) Rename the configuration file (bitcoin.conf), if it then ...
RedGrittyBrick's user avatar
2 votes

Using Bitcoin Core Regtest in classroom

It works with following configuration files (on different machines): Main PC: regtest=1 server=1 [regtest] port=18332 rpcport = 18333 rpcuser=bitcoinrpc rpcpassword=password rpcallowip=0.0.0....
Bart DV's user avatar
  • 159
1 vote

Bitcoin Core Wallet - Google Authenticator?

Bitcoin Core does not have a 2FA functionality.
Murch's user avatar
  • 75.4k

Top 50 recent answers are included