Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show All 10 Lines | |||||
#include <interfaces/chain.h> | #include <interfaces/chain.h> | ||||
#include <interfaces/handler.h> | #include <interfaces/handler.h> | ||||
#include <outputtype.h> | #include <outputtype.h> | ||||
#include <primitives/blockhash.h> | #include <primitives/blockhash.h> | ||||
#include <psbt.h> | #include <psbt.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util/message.h> | #include <util/message.h> | ||||
#include <util/strencodings.h> | #include <util/strencodings.h> | ||||
#include <util/string.h> | |||||
#include <util/system.h> | #include <util/system.h> | ||||
#include <util/translation.h> | #include <util/translation.h> | ||||
#include <util/ui_change_type.h> | #include <util/ui_change_type.h> | ||||
#include <validationinterface.h> | #include <validationinterface.h> | ||||
#include <wallet/coinselection.h> | #include <wallet/coinselection.h> | ||||
#include <wallet/crypter.h> | #include <wallet/crypter.h> | ||||
#include <wallet/rpcwallet.h> | #include <wallet/rpcwallet.h> | ||||
#include <wallet/scriptpubkeyman.h> | #include <wallet/scriptpubkeyman.h> | ||||
▲ Show 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | static inline void ReadOrderPos(int64_t &nOrderPos, mapValue_t &mapValue) { | ||||
nOrderPos = atoi64(mapValue["n"].c_str()); | nOrderPos = atoi64(mapValue["n"].c_str()); | ||||
} | } | ||||
static inline void WriteOrderPos(const int64_t &nOrderPos, | static inline void WriteOrderPos(const int64_t &nOrderPos, | ||||
mapValue_t &mapValue) { | mapValue_t &mapValue) { | ||||
if (nOrderPos == -1) { | if (nOrderPos == -1) { | ||||
return; | return; | ||||
} | } | ||||
mapValue["n"] = i64tostr(nOrderPos); | mapValue["n"] = ToString(nOrderPos); | ||||
} | } | ||||
struct COutputEntry { | struct COutputEntry { | ||||
CTxDestination destination; | CTxDestination destination; | ||||
Amount amount; | Amount amount; | ||||
int vout; | int vout; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,347 Lines • Show Last 20 Lines |