You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

  1. ---
  2. order: 4
  3. ---
  4. # Mempool
  5. ## Channel
  6. Mempool has one channel. The channel identifier is listed below.
  7. | Name | Number |
  8. |----------------|--------|
  9. | MempoolChannel | 48 |
  10. ## Message Types
  11. There is currently only one message that Mempool broadcasts and receives over
  12. the p2p gossip network (via the reactor): `TxsMessage`
  13. ### Txs
  14. A list of transactions. These transactions have been checked against the application for validity. This does not mean that the transactions are valid, it is up to the application to check this.
  15. | Name | Type | Description | Field Number |
  16. |------|----------------|----------------------|--------------|
  17. | txs | repeated bytes | List of transactions | 1 |
  18. ### Message
  19. Message is a [`oneof` protobuf type](https://developers.google.com/protocol-buffers/docs/proto#oneof). The one of consists of one message [`Txs`](#txs).
  20. | Name | Type | Description | Field Number |
  21. |------|-------------|-----------------------|--------------|
  22. | txs | [Txs](#txs) | List of transactions | 1 |