| 838 | } |
| 839 | |
| 840 | int64_t CWallet::IncOrderPosNext(WalletBatch* batch) |
| 841 | { |
| 842 | AssertLockHeld(cs_wallet); |
| 843 | int64_t nRet = nOrderPosNext++; |
| 844 | if (batch) { |
| 845 | batch->WriteOrderPosNext(nOrderPosNext); |
| 846 | } else { |
| 847 | WalletBatch(GetDatabase()).WriteOrderPosNext(nOrderPosNext); |
| 848 | } |
| 849 | return nRet; |
| 850 | } |
| 851 | |
| 852 | void CWallet::MarkDirty() |
| 853 | { |
nothing calls this directly
no test coverage detected