<blockquote>
  <p>I for example own 10 BTC does that mean, in some Blocks in the valid part of the blockchain is written, that I received at some point in time a certain amount of BTC? How do I prove that the Transactions in this block belong to me (without loosing ownership).</p>
</blockquote>

<p>Essentially, yes. Owning BTC simply means that one or more transaction outputs somewhere in the chain exist, that are spendable by you. In a normal case, this means that you have control of the private keys required to spend these outputs.</p>

<p>To prove you own them, you can sign a non-transaction message using your private key. This signature can be verified against your public key, and the public key can be verified against an address, thus proving that you own the outputs associated with that address.</p>

<blockquote>
  <p>How hard is it to find all transactions in a chain which belong to me</p>
</blockquote>

<p>If you do not know the transaction IDs, the merkle tree will not help. The merkle tree is only useful if you want proof that a known txid is in some block. If you only know the addresses that your outputs are at, but not the txids, you must scan the entire chain and match the output scripts against your addresses. This will have a worst case of O(n).</p>

<blockquote>
  <p>Could everybody check my amount of bitcoin if he knows my alias or whatever is used to mark my transactions as mine.</p>
</blockquote>

<p>If they know which addresses belong to you, yes.</p>

<blockquote>
  <p>Could I just spend someone elses coins?</p>
</blockquote>

<p>If you are able to satisfy the output script requirements, then yes. For regular transactions, this would imply that you have been able to compromise the keys owned by someone else.</p>

CC BY-SA 4.0
2018-09-01T13:33:53.330Z
I am aware of asymetric key cryptography but anyway, I am not aware at which point the keys are generated and applied to the transactions. I expect that there is some kind of a signing procedure, has it to do something with the so called smart contracts (currently started reading about that, in 30min I will probably already know more)
baxbear
CC BY-SA 4.0
2018-09-01T13:16:13.990Z
2018-09-01T13:16:13.990Z
Raghav Sood
<p>I for example own 10 BTC does that mean, in some Blocks in the valid part of the blockchain is written, that I received at some point in time a certain amount of BTC? How do I prove that the Transactions in this block belong to me (without loosing ownership).</p>

<p>How hard is it to find all transactions in a chain which belong to me. Some how this should be possible in $\mathcal{O}(l\cdot m\cdot log(n))$ because of the merkle tree in each block for m blocks and l transactions representing my complete ownership (3 BTC + 4 BTC + 3 BTC = 10 BTC)</p>

<p>Could everybody check my amount of bitcoin if he knows my alias or whatever is used to mark my transactions as mine. </p>

<p>Could I just spend someone elses coins?</p>

<p>Thank you very much in advance.</p>

<p>PS.:
My Plain written math expression was displayed wrong so I edited as tex code but it still does not work. Anyone who can read tex will still be able to read this formula (probably better than before)
If sb knows how to fix it, plz provide a solution.</p>

<transactions><blockchain><merkle-tree><ownership>
How to determine what's mine?
baxbear
# How to determine what's mine?

(Asked by: username_0 on 2018-09-01)

I for example own 10 BTC does that mean, in some Blocks in the valid part of the blockchain is written, that I received at some point in time a certain amount of BTC? How do I prove that the Transactions in this block belong to me (without loosing ownership).

How hard is it to find all transactions in a chain which belong to me. Some how this should be possible in $\mathcal{O}(l\cdot m\cdot log(n))$ because of the merkle tree in each block for m blocks and l transactions representing my complete ownership (3 BTC + 4 BTC + 3 BTC = 10 BTC)

Could everybody check my amount of bitcoin if he knows my alias or whatever is used to mark my transactions as mine.

Could I just spend someone elses coins?

Thank you very much in advance.

PS.:
My Plain written math expression was displayed wrong so I edited as tex code but it still does not work. Anyone who can read tex will still be able to read this formula (probably better than before)
If sb knows how to fix it, plz provide a solution.

**Tags:** transactions, blockchain, merkle-tree, ownership


---

## 1 answers

### Answer by username_1 on 2018-09-01. Score: 1

> I for example own 10 BTC does that mean, in some Blocks in the valid part of the blockchain is written, that I received at some point in time a certain amount of BTC? How do I prove that the Transactions in this block belong to me (without loosing ownership).

Essentially, yes. Owning BTC simply means that one or more transaction outputs somewhere in the chain exist, that are spendable by you. In a normal case, this means that you have control of the private keys required to spend these outputs.

To prove you own them, you can sign a non-transaction message using your private key. This signature can be verified against your public key, and the public key can be verified against an address, thus proving that you own the outputs associated with that address.

> How hard is it to find all transactions in a chain which belong to me

If you do not know the transaction IDs, the merkle tree will not help. The merkle tree is only useful if you want proof that a known txid is in some block. If you only know the addresses that your outputs are at, but not the txids, you must scan the entire chain and match the output scripts against your addresses. This will have a worst case of O(n).

> Could everybody check my amount of bitcoin if he knows my alias or whatever is used to mark my transactions as mine.

If they know which addresses belong to you, yes.

> Could I just spend someone elses coins?

If you are able to satisfy the output script requirements, then yes. For regular transactions, this would imply that you have been able to compromise the keys owned by someone else.

> **Comments:**
> **username_0**: I am aware of asymetric key cryptography but anyway, I am not aware at which point the keys are generated and applied to the transactions. I expect that there is some kind of a signing procedure, has it to do something with the so called smart contracts (currently started reading about that, in 30min I will probably already know more)  

---

