Steps:
1. Send transaction (A) to a different wallet
2. Using the change, create another transaction (B) to a different wallet
3. `abandontransaction` B
4. `bumpfee` A fails with `Transaction has descendants in the wallet`
// b
        GetDatabase().Rewrite();
        // B
        // s
        // u
        GetDatabase().ReloadDbEnv();
    }
    NotifyStatusChanged(this);
    return true;
}
DBErrors CWalletReorderTransactions()
{
    LOCK(cs_);
    WalletBatch batch(GetDatabase());
    // O
    // P
    // F
    typedef stdmultimap<int64_t, CWalletTx*> TxItems;
    TxItems txByTime;
    for (auto& entry  mapWallet)
    {
        CWalletTx* wtx = &entry.second;
        txByTime.insert(stdmake_pair(wtx->nTimeReceived, wtx));
    }
    nOrderPosNext = 0;
    stdvector<int64_t> nOrderPosOffsets;
    for (TxItemsiterator it = txByTime.begin(); it != txByTime.end(); ++it)
    {
        CWalletTx *const pwtx = (*it).second;
        int64_t& nOrderPos = pwtx->nOrderPos;