We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TxsMessage
1 parent 8d6d2bf commit 6088604Copy full SHA for 6088604
mempool/reactor.go
@@ -198,13 +198,3 @@ func (memR *Reactor) broadcastTxRoutine(peer p2p.Peer) {
198
}
199
200
201
-
202
-// TxsMessage is a Message containing transactions.
203
-type TxsMessage struct {
204
- Txs []types.Tx
205
-}
206
207
-// String returns a string representation of the TxsMessage.
208
-func (m *TxsMessage) String() string {
209
- return fmt.Sprintf("[TxsMessage %v]", m.Txs)
210
spec/p2p/messages/mempool.md
@@ -14,7 +14,7 @@ Mempool has one channel. The channel identifier is listed below.
14
## Message Types
15
16
There is currently only one message that Mempool broadcasts and receives over
17
-the p2p gossip network (via the reactor): `TxsMessage`
+the p2p gossip network (via the reactor): `Txs`
18
19
### Txs
20
0 commit comments