6

The verifying process is only between the signature and the sender's public key with no reference to the receivers public key. That's incorrect. The message signed by the sender includes several pieces of information, including the outputs of the transaction. Changing the receiver's public key would invalidate the signer's signature.


5

The blockchain is not determined by a majority vote and does not necessarily change if a significant portion of nodes claim an alternative chain is the main chain. Rather the main chain is determined by each node independently, and all nodes arrive at the same conclusion independently because they all are following the same set of rules. So even if an ...


5

Bitcoin nodes keep track of what's called the UTXO set – the set of all unspent transaction outputs. Every valid transaction must only spend existing and not previously spent outputs, so this is enough to prevent double-spending. The UTXO set can also be stored in a way to allow efficient (constant-time) lookups, so verifying transactions doesn't require ...


3

The blockchain only records transfers of Bitcoin, and there is no reason to believe that every payment is linked to trading activity. The blockchain does not record reasons why funds were transferred, and it most certainly doesn't record trading activity. How could it, when trading inherently involves the exchange for another good, service, or currency which ...


3

in the details of a bitcoin block there's a section called block confirmation The details of what is in a block as transmitted between Bitcoin nodes is shown at https://en.bitcoin.it/wiki/Protocol_documentation and other places. In the Bitcoin network, there's no item "block confirmation" that counts block confirmations. Block Headers Block ...


1

Where should I start to learn? It's better to learn it by creating my own PoW or PoS simple blockchain network? Or learning Ethereum SDK is good start point? Read books if you prefer reading books to learn things. Example: Programming Bitcoin by Jimmy Song Reading posts on Bitcoin subreddits, mailing list, stackexchange, Twitter, IRC channels etc. Trying ...


1

Is that means there is a row in the db, which key is a constant 'B' and value is the latest block hash? Correct.


1

Each block must include a coinbase transaction. The coinbase transaction must be the first transaction in the block and pays the block reward to the block's author. It is also special in that it does not spend a UTXO in its inputs and that only coinbase transactions may have a bigger total value for the outputs than its inputs. The compensation of miners is ...


1

Is your core compiled with the wallet? Because gettransaction RPC get wallet transactions, and hence need wallet capabilities. For general transactions, you should use getrawtransaction instead. I ran it here (with wallet enabled) and works just fine.


1

Can I find (always, without fault) the specific set of blocks from which the Bitcoins that I hold originated? Short answer: No. Yes in the completely trivial sense that your Bitcoins were created in the transaction in which they appeared as outputs. But this isn't the sort of origin you had in mind. But no in any real sense because a Bitcoin is an unspent ...


Only top voted, non community-wiki answers of a minimum length are eligible