Author

Topic: how to check an txid input coin has been spend or not ? (Read 2128 times)

full member
Activity: 154
Merit: 100
Where is that pool? Disk? Not RAM I suppose...

LevelDB (it's what the chainstate directory is for). It's partially cached in RAM though.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
Where is that pool? Disk? Not RAM I suppose...
full member
Activity: 154
Merit: 100
There is a pool of unspent outputs.
a pool of ALL unspent outputs ?

Yes, you can see its size with the command 'gettxoutsetinfo'.

Yeah. ALL unspent outputs. I'm not sure how to query it.

You don't, at least not without modifying the client to add a new RPC command.
vip
Activity: 1316
Merit: 1043
👻
There is a pool of unspent outputs.
a pool of ALL unspent outputs ?
Yeah. ALL unspent outputs. I'm not sure how to query it.
member
Activity: 64
Merit: 10
btc.com
There is a pool of unspent outputs.
a pool of ALL unspent outputs ?
vip
Activity: 1316
Merit: 1043
👻
There is a pool of unspent outputs.
legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
I didn't check the source code about that part but I think so...
I'm interested too btw
member
Activity: 64
Merit: 10
btc.com
Somebody send me 1 BTC to address with txid(t01). Than I spend this 1 BTC to somebody else with txid(t02), this address's amount should be empty.

Now I create raw transaction with txid(t01), than I broadcast it. How does other bitcoind node found it has already spend out? Review all transactions after t01 to check?
Jump to: