New answers tagged

0

I think you could do what you are asking with an explorer API and rawtransactions, however you need to be careful when using rawtransactions as you could lose a lot of coins if you dont know what you are doing (see my note at the end). Transactions are made of inputs and outputs. Lets say you have 10 coins on address A, you could have two unspent ...


0

See https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery The Satoshi client discovers the IP address and port of nodes in several different ways. Nodes discover their own external address by various methods. Nodes receive the callback address of remote nodes that connect to them. Nodes makes DNS request to receive IP addresses. Nodes can ...


3

No, it would not. --reindex only handles the data that is stored on disk. Blocks are stored in the order that they are received, which is what brought you to your current view of the blockchain. So all that would happen is that you end up at that same state. Switching to another blockchain fork requires your node to be aware of it, so you need to have ...


1

1) Which secure full node wallet implementations exist? Currently I just know of bitcoin core. Is there not any other one with a GUI? I don't know of any others, apart from forks of Bitcoin Core like Knots. See https://bitcoin.org for an overview of various types of wallet software. 2) Can you use a Ledger device with those full node wallets? Yes, ...


1

Running a pruning node simply means enabling the prune setting. In Bitcoin Core, that can be done either in the bitcoin.conf file by adding a line "prune=N" (where N is a number in megabytes), or through the Qt GUI in the settings screen. Electrum is not a full node, and never downloads or verifies blocks at all, so there is nothing to prune. There is no ...


0

You need to send a version message (and receiving the correspondant verack) before sending anything else. Here is a quickly patched version of your script which handles the version message: import hashlib import random import socket import time import urllib.request PEER_IP = "127.0.0.1" PEER_PORT = 8333 nonce = (random.getrandbits(64)).to_bytes(8, ...


Top 50 recent answers are included