I have mined some tokens, but they disappeared from my wallet! #6271
-
Source: Discord Hi, I had mined a load of testnet tokens but this morning when I restarted mining, the token count started reducing and now the balance is 0 and all the completed transactions are gone. Can someone help me what's wrong? The blocks with status coinbase completed and tokens which were made available after the time lock, all of them have vanished just like that. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is possible that you were mining on a fork. To track reorgs in the base node there is a setting in the config file
If you had this setting on the entire time then if you type the command On an expert level, you can also check the earmarked wallet's database, just be very careful about editing anything in there (serious expert level)! pub enum TransactionStatus {
/// This transaction has been completed between the parties but has not been
/// broadcast to the base layer network.
Completed = 0,
/// This transaction has been broadcast to the base layer network and is currently
/// in one or more base node mempools.
Broadcast = 1,
/// This transaction has been mined and included in a block.
MinedUnconfirmed = 2,
/// This transaction was generated as part of importing a spendable unblinded UTXO.
Imported = 3,
/// This transaction is still being negotiated by the parties.
#[default]
Pending = 4,
/// This is a created Coinbase Transaction.
Coinbase = 5,
/// This transaction is mined and confirmed at the current base node's height.
MinedConfirmed = 6,
/// This transaction was Rejected by the mempool.
Rejected = 7,
/// This transaction import status is used when a one-sided transaction has been
/// scanned but is unconfirmed.
OneSidedUnconfirmed = 8,
/// This transaction import status is used when a one-sided transaction has been
/// scanned and confirmed.
OneSidedConfirmed = 9,
/// This transaction is still being queued for initial sending
Queued = 10,
/// This transaction import status is used when a coinbase transaction has been scanned
/// but is unconfirmed.
CoinbaseUnconfirmed = 11,
/// This transaction import status is used when a coinbase transaction has been scanned
/// and confirmed.
CoinbaseConfirmed = 12,
/// This transaction import status is used when a coinbase transaction has been scanned
/// but the outputs are not currently confirmed on the blockchain via the output manager.
CoinbaseNotInBlockChain = 13,
} pub enum OutputStatus {
Unspent = 0,
Spent = 1,
EncumberedToBeReceived = 2,
EncumberedToBeSpent = 3,
Invalid = 4,
CancelledInbound = 5,
UnspentMinedUnconfirmed = 6,
ShortTermEncumberedToBeReceived = 7,
ShortTermEncumberedToBeSpent = 8,
SpentMinedUnconfirmed = 9,
NotStored = 10,
} |
Beta Was this translation helpful? Give feedback.
It is possible that you were mining on a fork. To track reorgs in the base node there is a setting in the config file
If you had this setting on the entire time then if you type the command
list-reorgs
into the base node terminal it will list all reorgs it witnessed.On an expert level, you can also check the earmarked wallet's database, just be very careful about editing anything in there (serious expert level)!
The earmarked wallet continuously scans the blockchain for mined coinbases, which are reflected in the
completed_transactions
…