Very noob at this. I'm seeing that a transaction in Bitcoin has a field called 'status':
Example from blockchain:
I was wondering, what are all the possible values that this field can get (or where to search for them)?
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityVery noob at this. I'm seeing that a transaction in Bitcoin has a field called 'status':
Example from blockchain:
I was wondering, what are all the possible values that this field can get (or where to search for them)?
I don't know. As an approximation, we can look at what's written in Bitcoin Core:
/** New transactions start as UNCONFIRMED. At BlockConnected,
* they will transition to CONFIRMED. In case of reorg, at BlockDisconnected,
* they roll back to UNCONFIRMED. If we detect a conflicting transaction at
* block connection, we update conflicted tx and its dependencies as CONFLICTED.
* If tx isn't confirmed and outside of mempool, the user may switch it to ABANDONED
* by using the abandontransaction call. This last status may be override by a CONFLICTED
* or CONFIRMED transition.
*/
enum Status {
UNCONFIRMED,
CONFIRMED,
CONFLICTED,
ABANDONED
};