New answers tagged

1

The JSON-RPC interface is intended for local access. By default it will only accept connections from localhost, but it can be configured to be accessed for a wider netmask; e.g. a trusted LAN network. If you have a need to access it over an untrusted network like the internet, tunnel it through technology specifically designed for that, such as stunnel (SSL) ...


0

in Bitcoin Core, I don't see the balance. Blockchain explorers do confirm that address 1PMoUJpj73FUTbjMiKwJfJoo4fJaUE9bTr still holds 8 BTC. So that suggests there has been no hacking or improper removal of money. first the older key without rescan, I would re-import the older key with rescan. I would also make sure the wallet has completely synchronised. ...


1

The source of truth will always be the blockchain, so I think you just need to run your software on two different machines, with both of them referring to the same wallet, address, etc. An action by one should be reflected by the other.


2

To get a balance of the address you need a view of the blockchain's current utxo set. This is typically done by syncing a node. I don't believe bitcoinjs has the capability to be a node (nor it is recomended to use it as one if it does). Using bitcoin core you could add it to the wallet and do a rescan. Alternatively you can use something that requires more ...


4

What are the main technical differences between Bitcoin-core (BTC), Bitcoin SV (BSV) and Bitcoin Cash (BCH)? BTC is not Bitcoin Core. BTC is the code/symbol/ticker used for the token (currency) bitcoin. bitcoin is the token (currency) used in Bitcoin, a protocol for decentralized network that allows you to settle payments without trusting third parties. ...


1

This is a known issue and happened with me once: https://github.com/bitcoin-core/gui/issues/245 Pieter Wuille's last comment summarizes the issue: The "first run" dialog, when selecting a filesystem with less than a certain threshold available space, will suggest have pruning enabled by default. If you then click continue without turning it off, ...


0

The hashing power is estimated from the number of blocks being mined in the last 24h and the current block difficulty. More specifically, given the average time T between mined blocks and a difficulty D, the estimated hash rate per second H is given by the formula H = 2exp32 D / T


3

The RPC you're looking for is testmempoolaccept. It checks whether a raw transaction would be accepted into the local mempool, without actually doing so. Only transactions that satisfy all consensus rules, plus various policy rules, are accepted into the mempool. Am I correct in stating that the sendrawtransaction RPC method first validates a transaction ...


0

Node B accepts the new blockchain from Node A and now continues the chain by creating a new block, including the transaction it received earlier in the next block. When node B accepts the new block from node A, it removes from its mempool all unconfirmed transactions that appear in that block. Node B will only use remaining mempool transactions in its new ...


2

It doesn’t matter if it’s the same or a different block, it’s still a double spend because both transactions spend the same coins. In your example node B can’t include the transaction in the block because there are no coins to spend.


1

Provided each wallet supports the ability to select the derivation path used by the other, your BIP39 seed can be used by either wallet. Different companies/hardware wallets use different standard derivation paths, (although standards are here and are being adopted*) which could be a reason why e.g. your Coldcard seed doesn't work 'out of the box' with your ...


0

One thing which both protocols use is peer discovery and bootstrapping. Bitcoin full node implementation used by most nodes (Bitcoin Core) used IRC channels to get IP addresses of nodes earlier. It uses DNS seeds right now and BitTorrent uses DHT nodes. There is not much difference in the concept.


2

I don't think there is much overlap, beyond the conceptual "making connections between nodes over the internet" part. There are also hash functions in both, and probably a few more very basic constructions.


1

I solved the problem by installing the bitcoin package again. I was getting this error message with my script doubleslow-base.py: Traceback (most recent call last): File "./doubleslow-base.py", line 136, in <module> print_the_secrets(digest256_final) File "/home/valentin/python/doubleslow/doubleslow_module.py", line 301, in ...


2

Yes, descriptor wallets can be encrypted using Bitcoin Core's passphrase encryption feature, just like legacy wallets. It encrypts just the private keys, so encrypted wallets can be used normally for most purposes without access to the passphrase, but sending/signing do need it.


3

Can you reach anything over I2P? For example, can you browse http://git.idk.i2p/ using the router's http proxy?


0

I have an old pc with Atom N270 that I would like to use as full node, how can I do that? As you can see from the list of pre-compiled 22.0 binaries, there is no Intel 32-bit option available. There is a 32-bit ARM version available, but your Atom N270 is an Intel processor not an ARM processor. Therefore, you will have to download the source code and try ...


1

According to BIP 125 which is implemented in Bitcoin Core with one exception, only transactions that signal RBF will be replaceable later with higher fee rate and fee. You can enable RBF for all wallet transactions using walletrbf=1 in bitcoin.conf file however it should be enabled by default. In GUI there is a checkbox for RBF which can be used for each ...


3

Bitcoin Core 22.0 only supports 64-bit x86 platforms. The Atom N270 is a 32-bit CPU, so it is not supported. It may be possible to compile the 22.0 source code yourself for a 32-bit platform however, and the result may still work. But you're on your own then.


1

Generally, deprecated RPCs are available for one major release. That would mean this specific one will not be present in Bitcoin Core 23.0 anymore, but will be in any 22.x releases.


0

i know what's bip32 but couldn't find any effective way to use it. can anyone help me with that? thank you Use NBitcoin or NBXplorer There are no better libraries for C# developers in Bitcoin. These libraries also support some altcoins although questions related to altcoins are offtopic here.


1

I will add an answer to this post chainstate: Container the information about the UTXO and this is by default indexed in a level db. blocks: Contains all the data related to the blockchain, so you can build your own chain state with just scan this file (blkXXXX.dat) one by one


2

Why an unknown record? If you have used your wallet in a newer version of Bitcoin Core and then downgraded, you may see this message as sometimes new versions of Bitcoin Core will write new records. If your wallet is particularly old and has been upgraded over time, it is possible that your wallet contains records that are no longer being used and have ...


2

Timestamps in Bitcoin, including block timestamps and nLocktime values, are unsigned 32-bit. The last possible timestamp is Feb 7th 2106, at 06:28:15 UTC.


8

This functionality in the Bitcoin Core wallet has deliberately not been merged pre activation to prevent users from easily generating and giving out Taproot addresses prior to the Taproot rules being enforced. You can get around this by importing a Taproot descriptor into the wallet prior to this PR being merged as described here, here, here or here but that ...


1

bitcoin.org is a privately operated website, independent from the Bitcoin Core project. Historically, new Bitcoin Core releases have been published on bitcoin.org as well as on the project's own website bitcoincore.org. You'll need to ask the bitcoin.org maintainers why they haven't put Bitcoin Core 22.0 on there. There appears to be an open request (https://...


5

In secp256k1 there are 2256 possible keys. Pollard's kangaroo algorithm (and other known algorithms) run in time square root of the number of keys. So the algorithm would take ~2128 steps. This is completely infeasible. Just as a comparison: Bitcoin's hashrate is 160M TH/s. That's 160 million * 1 billion hashes per second. Say all of bitcoin's miners would ...


2

Yes, 0.9.5 is consensus compatible with modern Bitcoin, though it will be considerably slower than modern versions, and probably shouldn't be used for anything that's transacting real money.


1

txid - hash of the transaction itself Indeed. It is the hash of the transaction without witness data included (if any). hash - hash of the transaction itself. If transaction is non-segwit, txid == hash, otherwise in segwit transactions the transaction hash is different. Indeed. It is the hash of the transaction with witness data included (if any). The ...


1

I think you have to use a third party API. A price is just what an exchange or multiple exchanges see in real time when supply (sellers) and demand (buyers) meet at a certain price. So there is no authoritative neutral source of what the market price is at any point in time. Therefore I think you have to choose between an API provided by an exchange or a ...


2

I think you are basically unable to withdraw your BTC because you have been scammed. There is no BTC on its website at all. You cannot withdraw your BTC or money. This will not happen if you buy from a proper organization. For example, you will not be deceived when you invest in a formal platform like Coinbase or Binance. So don't trust the fake investment ...


1

the downloads at bitcoincore.org are the safer ones? https://bitcoincore.org is the website where developers of bitcoin-core place ready to use executables you can download. I wouldn't characterise https://bitcoin.org as unsafe but nowadays I would prefer to download executables from https://bitcoincore.org Some might argue that it is safer still to ...


0

With bitcoin-core you'd use decoderawtransaction https://en.bitcoin.it/wiki/Raw_transactions#decoderawtransaction_.3Chex_string.3E Example with my node decoderawtransaction ...


0

if you have some idea about the password, it can be brute-forced


Top 50 recent answers are included