Skip to main content

Questions tagged [transaction-verification]

The process in which every Bitcoin node checks every part of every Bitcoin transaction worldwide for conformance to standard rules and uses the complete history of all previous Bitcoin transactions to check that money being spent in a transaction has not previously been spent in any earlier transaction since the beginning of Bitcoin.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
57 views

Transaction validation cost

what relation is between transaction size or a number of input and validation cost? for example, It's o(n) or o(n^2)?
Maha's user avatar
  • 41
2 votes
1 answer
1k views

How does merkle tree verification of transaction work?

From what I have read, suppose B sends 1 bitcoin to C. C wishes to verify B's payment and asks C for the block number (location) that input transaction is located at. (Is this correct understanding/...
Geo Mez's user avatar
  • 61
1 vote
0 answers
117 views

Generating zero-amount transactions in regtest mode?

I'm setting up a larger test network of regtest nodes in which all of them should be easily capable of creating blocks and sending transactions. To this end, I'm looking for a simple way for the nodes ...
tnull's user avatar
  • 111
1 vote
0 answers
195 views

Do Bitcoin miners verify validity of merge-mined Namecoin blocks?

I've been reading a little about merged mining as used in Bitcoin and Namecoin. It seems like merged mining effectively eliminated Namecoin-only mining pools, right? Since Namecoin-only pools are ...
Alin Tomescu's user avatar
  • 1,337
0 votes
1 answer
55 views

What is the hashTypeCode?

After a transaction is serialised ready for signature or signature verification, a 4 byte hashTypeCode must be added (step 9 here). As it's derived from a single byte, it has 256 possible values. What ...
Lee's user avatar
  • 958
0 votes
1 answer
51 views

How to validate a bitcoin transaction

Sorry for the noob question, but I just installed bitcoin core last week and am running a full node. I want to verify a transaction I sent to a new coldcard wallet. How do I do this in core?
SatoshiMcHodlpants's user avatar
0 votes
0 answers
57 views

Is there anyway to produce the transaction's hash created by sender?

It seems that when someone wants to send Bitcoins, he creates a transaction and the transaction_id will be transaction's hash. after block confirmation this id will be change and we can find out this ...
Mohsen Ghorbani's user avatar
0 votes
0 answers
33 views

Using high-level language to verify blocks

I would like to know if there exists a low-level library in Python or any other language that automates the process of verifying blocks, i.e. verifying the hash, the merkle root and the transactions. ...
aleph2's user avatar
  • 111
0 votes
0 answers
63 views

Lib bitcoinconsensus verification returns SCRIPT_ERR_INVALID_STACK_OPERATION on a P2SH multisig output

I tried to verify an old transaction 6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192 P2SH multisig input 0 using lib bitcoinconsensus and I got SCRIPT_ERR_INVALID_STACK_OPERATION. ...
Alec Matusis's user avatar
0 votes
0 answers
319 views

Final Balance -Balance showing different then Coinspot BTC wallet

Bit of a beginner question I have been using crypto wallets for a few months and have basically learned through trial and error. The question is my BTC wallet on Coinspot has a $0 and 0.0 BTC balance. ...
Rossko Ross's user avatar
0 votes
0 answers
841 views

bitcoin transaction spent but not received

I hope you are well. I had a weird transaction which was sent a few days ago, it now says spent, and received but has not changed my wallet balance, sent it from one exchange to another. When it is ...
Deon Takpuie's user avatar
0 votes
0 answers
110 views

How to send an invalid transaction for testing purposes?

How could I send an invalid transaction—for testing purposes, such as with testnet or regtest? For example, I would like to to try to double-spend, spend non existent coins, etc.
Geremia's user avatar
  • 4,704