New answers tagged

0

To go from account xpub to address, you must first derive an xpub at the External index (0) or Internal index (1), then derive another xpub from the External/Internal xpub. Take the public key from the resulting xpub and this is the public key used for the address. For a detailed explanation of extended public keys and how to derive child public keys, take ...


1

how do you determine if that peer created the transaction or if it is simply relaying the transaction You cannot, at least not with absolute certainty. This is by design: it helps preserve the privacy of users on the network. That said, if you decided to run a whole bunch of nodes, and positioned them carefully in the network graph, then you could start ...


2

There are also the 'standardness rules', which are separate from 'validity rules'. So this means a transaction can be either valid and standard, valid but non-standard, or invalid. A node can choose to broadcast any transaction it would like to the network, or none at all. If a node broadcasts invalid transactions, then it is likely that its peers will ...


2

You don't need to grant someone access to the entire machine to be able to use bitcoin-cli. You can provision credentials using the rpcauth parameter in bitcoin.conf (it may be defined multiple times for multiple username/password combinations), and whitelist their IP address for the port you are running the bitcoin RPC on. They can then use a local bitcoin-...


Top 50 recent answers are included