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) ...
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. ...
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.
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 ...
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.
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, ...
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
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 ...
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 ...
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.
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 ...
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.
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.
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>
File "/home/valentin/python/doubleslow/doubleslow_module.py", line 301, in ...
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.
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 ...
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 ...
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.
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.
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
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 ...
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 ...
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://...
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 ...
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 ...
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 ...
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 ...
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 ...