diff --git a/src/daemon/MoneroDaemon.h b/src/daemon/MoneroDaemon.h index 4cb7930..88e305d 100644 --- a/src/daemon/MoneroDaemon.h +++ b/src/daemon/MoneroDaemon.h @@ -30,7 +30,6 @@ namespace monero { // forward declarations struct MoneroTx; - struct MoneroBlock; /** * Models a Monero block header which contains information about the block. @@ -60,7 +59,7 @@ namespace monero { */ struct MoneroBlock : public MoneroBlockHeader { string hex; - MoneroTx coinbaseTx; + MoneroTx* coinbaseTx; vector txs; vector txIds; }; @@ -78,7 +77,7 @@ namespace monero { */ struct MoneroOutput { MoneroTx* tx; - MoneroKeyImage keyImage; + MoneroKeyImage* keyImage; uint64_t amount; uint32_t index; vector ringOutputIndices; diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index 1316721..1bc3f07 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -91,7 +91,7 @@ namespace monero { * Models a base transfer of funds to or from the wallet. */ struct MoneroTransfer { - MoneroTxWallet tx; + MoneroTxWallet* tx; uint64_t amount; uint32_t accountIndex; bool isIncoming; @@ -119,7 +119,7 @@ namespace monero { */ struct MoneroTxWallet : public MoneroTx { vector incomingTransfers; - MoneroOutgoingTransfer outgoingTransfer; + MoneroOutgoingTransfer* outgoingTransfer; uint32_t numSuggestedConfirmations; string note; };