Post
Topic
Board Development & Technical Discussion
Merits 3 from 3 users
Topic OP
Help me understand pkey + “spending twice”
by
glascake
on 02/09/2021, 22:46:15 UTC
⭐ Merited by PrimeNumber7 (1) ,vapourminer (1) ,ETFbitcoin (1)
Just to clarify:
I will refer to an address as pKey.

I have this scenario:

Bob sends money to Tim
txIn ——txOut
pKey1->pKey2
0.5———>0.5
Now Tim sends his cash to Hannah
txIn ——txOut
pKey2->pKey3
0.5———>0.5

But Tim receives again money from Bob (to the same address)
txIn ——txOut
pKey4->pKey2
0.5———>0.5
Can he now spend 0.5 btc with pKey2 as input?




Second question more important one. (That’s the reason I’m asking the first one, so I can understand better)
Let’s say I have a address, on this address I received 0.1 btc daily.
Now I am using electrums sweep to transfer the funds to my real wallet. Will I be able to do indefinitely, meaning keep receiving 0.1btc/day on this one address and then using electrums sweep to transfer the funds once a week to my wallet?