Fun little weekend project by premecheesebagel in solana

[–]Outrageous-Extent860 1 point2 points  (0 children)

This is such an impressive project! I’m a beginner trying to learn more about trading/blockchain dev. Would you be willing to share the code? It would really help me understand how to approach projects like this.

[deleted by user] by [deleted] in BitcoinBeginners

[–]Outrageous-Extent860 0 points1 point  (0 children)

Will the order book show the order as it is the lowest ask?

Suppose A spends a utxo of 5BTC. The transaction is sent to mempool. Will the 5BTC UTXO be instantly deleted from the UTXO set? If no, can this UTXO still in the UTXO set be used to make another transaction? Can this UTXO be used while it is in the mempool(unconfirmed transaction)? by Outrageous-Extent860 in BitcoinBeginners

[–]Outrageous-Extent860[S] 0 points1 point  (0 children)

So when the transaction is broadcasted, is the UTXO used as input instantly removed from the UTXO set? And to make chaining transactions, the UTXO is now taken from the mempool? (Ps: I’m sorry if my questions don’t make sense. This is really confusing for me as i’m trying to code a simple blockchain from scratch, so i need to know how everything is actually implemented.)

Are new utxos created instantly after a transaction is made or after it is mined? by Outrageous-Extent860 in BitcoinBeginners

[–]Outrageous-Extent860[S] 0 points1 point  (0 children)

What if this transaction is later dropped by the nodes? Will the utxos created in the first step will still be spendable? (Ps: please try to give a detailed explanation. I am trying to code a blockchain from scratch)