-
jeffro256[m]
How are EPEE arrays stored in binary? Is it one byte of SERIALIZE_TYPE_x number ORed with SERIALIZE_FLAG_ARRAY + the varint length + each raw element serialized and packed without padding?
-
willshu[m]
How to decide if a transaction is successful? For some other blockchains, there is a keyword like "status: success". For Monero, any transaction that can be scanned from the blockchain is successful?
-
jeffro256[m]
What do you mean by successful? If you mean that it is confirmed, it's really up to the receiver to decide how many confirmations a TX needs for them to consider it final
-
moneromooo
If you mean as a user, if it's in the chain. If as a coder, since you're in -dev, check the top level handle_incoming_txs function in cryptonote_core.cpp.
-
willshu[m]
jeffro256[m]: For example, on ethereum, a transaction can be found on chain, but still failed due to insufficient balance.
-
moneromooo
On purpose ? Or a consensus bug ?
-
jeffro256[m]
will.shu That doesn't happen in Monero because there is no gas or smart contracts involved. If a transaction has insufficient balance, it just won't get confirmed
-
moneromooo
For monero, there's on "on chain but not actually valid".
-
moneromooo
Of course you have to check the chain.
-
moneromooo
there's *no", not on.
-
willshu[m]
Yeah, I was asking only about if a keyword to specify whether a transaction is successful or not. I guess on Monero if you found a transaction on chain. After some confirmations, it is then valid. Right?
-
moneromooo
As soon as it's included in a valid chain, it's valid for that chain.
-
moneromooo
It might end up invalidated by another chain with more cumulative PoW of course.
-
willshu[m]
moneromooo: got it.
-
jeffro256[m]
But also If a TX gets reorged out of the chain then it will probably (99% chance) make its way into a later block
-
willshu[m]
<jeffro256[m]> "But also If a TX gets reorged..." <- ok
-
drflashd[m]
what exactly does 'monero-blockchain-export' write to the file regards user info? is it purely the blockchain or is there any local wallet/peer info included?
-
drflashd[m]
is it equal to blockchain.raw download file?
-
moneromooo
Blockchain. No wallet stuff. You don't give it wallet path/password in the first place.
-
drflashd[m]
moneromooo: i am talking about metadata in general, is it purely public blockchain or any local user info?
-
moneromooo
No local user info.
-
drflashd[m]
would like to verify it
-
xmr-pr
Gingeropolous opened issue #8229: monerod blocks exclusive node
-
xmr-pr
-
plowsof[m]