@@ -43,10 +43,6 @@ class Wallet;
43
43
// ! asynchronously
44
44
// ! (https://github.com/bitcoin/bitcoin/pull/10973#issuecomment-380101269).
45
45
// !
46
- // ! * The relayTransactions() and submitToMemoryPool() methods could be replaced
47
- // ! with a higher-level broadcastTransaction method
48
- // ! (https://github.com/bitcoin/bitcoin/pull/14978#issuecomment-459373984).
49
- // !
50
46
// ! * The initMessages() and loadWallet() methods which the wallet uses to send
51
47
// ! notifications to the GUI should go away when GUI and wallet can directly
52
48
// ! communicate with each other without going through the node
@@ -127,11 +123,6 @@ class Chain
127
123
128
124
// ! Check if transaction will be final given chain height current time.
129
125
virtual bool checkFinalTx (const CTransaction& tx) = 0;
130
-
131
- // ! Add transaction to memory pool if the transaction fee is below the
132
- // ! amount specified by absurd_fee. Returns false if the transaction
133
- // ! could not be added due to the fee or for another reason.
134
- virtual bool submitToMemoryPool (const CTransactionRef& tx, CAmount absurd_fee, CValidationState& state) = 0;
135
126
};
136
127
137
128
// ! Return Lock interface. Chain is locked when this is called, and
@@ -164,9 +155,6 @@ class Chain
164
155
// ! Check if transaction has descendants in mempool.
165
156
virtual bool hasDescendantsInMempool (const uint256& txid) = 0;
166
157
167
- // ! Relay transaction.
168
- virtual void relayTransaction (const uint256& txid) = 0;
169
-
170
158
// ! Transaction is added to memory pool, if the transaction fee is below the
171
159
// ! amount specified by max_tx_fee, and broadcast to all peers if relay is set to true.
172
160
// ! Return false if the transaction could not be added due to the fee or for another reason.
0 commit comments