Get desktop application:
View/edit binary Protocol Buffers messages
Mintter P2P API.
Handshake gets called whenever two Mintter peers connect to each other. No matter who initiates the connect, this will make sure both peers exchange their information.
The CID of the key delegation blob.
The bytes of the key delegation blob.
ListBlobs returns a stream of blobs that the peer has. It's assumed that all peers have a way to list their blobs in a monotonic order, i.e. blobs that a peer receives later will have a higher index/cursor. This allows peers to sync more efficiently by remembering the cursor from the previous request, and only asking for what's new since then in the next request. Clients must treat the cursor as an opaque string.
Request to list blobs.
Optional. A cursor obtained from a previous request to resume the stream.
CID of the blob.
Cursor can be used to resume the stream to get only newer blobs than this one. Clients must not expect that all blobs will have a cursor (might be done as an optimization), but whenever they see a cursor for a blob they have already processed, they should remember it for future requests.
Request a peer to issue a lightning BOLT-11 invoice
Request Invoice request.
The invoice amount in satoshis
Optional requested memo to be attached in the invoice
True to request a hold invoice instead of a regular one. If true, then preimage_hash should be filled
Preimage hash of the requested hold invoice. If hold_invoice is set to false this field is skipped
Request invoice response
Text encoded BOLT-11 Invoice