-
Mochi101
Torr, is there a Tiktoc about it that I can watch?
-
Torr
Mochi101: Not that I'm aware of.
-
Mochi101
I was joking hey.
-
Mochi101
All about the attention span of many people these days.
-
Torr
I know XD
-
Torr
The best part is seeing how anxious they get when away from social media.
-
Torr
Literally frenetic.
-
Mochi101
Torr, younger generations... I can't see how they're going to survive.
-
Torr
They'll find a way.
-
Torr
Will have a walk now.
-
Torr
See ya
-
winter
hey folks, question: how exactly does the network protect from malicious users broadcasting one transaction to one node, while broadcasting another version of that transaction to other nodes? how does that get handled? i know it has something to do with confirmations, but how exactly does that work?
-
moneromooo
winter: it uses PoW to pick one of these as "canonical".
-
winter
moneromooo: so is it based off majority - how does that selection work?
-
moneromooo
The canonical chain is the one with the most cumulative work. And it can include only one of the two txes, or it'd be invalid.
-
moneromooo
Typically, the first one mined in time is selected, but not always if they're mined close in time.
-
winter
To be clear, what exactly do you mean by the two txes -- how is one TX shown to be related to another, at least in terms of being added into the chain? How does the network differentiate between a node announcing a legitimate transaction and an illegitimate one, assuming the transactor only announced it to one node?
-
moneromooo
By "the two txes" I mean the transactions in your question. The rest of what you said I do not understand.
-
moneromooo
Ask more precise questions.
-
sech1
"a legitimate transaction and an illegitimate one" wrong, both are legitimate
-
sech1
first come, first served
-
sech1
whichever gets mined first will be what's actually spent
-
winter
what I failed to elaborate on the first time is that why wouldn't both txes get spent?
-
winter
(if possible based on funds)
-
sech1
because they use the same key image
-
sech1
if they spend the same input
-
winter
ah, okay, those are some terms i'd have to look into -- thanks
-
garth
winter the money in every transaction is "held" in something called a key image. Imagine something like a serial number on a $5 US dollar. This key image can only be included in a mined block one time. If a miner attempts to include it a second time in a second block, the network will reject the second block
-
garth
So if I submit two transactions that reference the same key image, the transaction that becomes spent is the first one mined by a miner that ends up in the longest chain
-
garth
The longest proof of work chain
-
popo
sup
-
Mochi101
not crypto