mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-15 12:50:29 +02:00
poolrpc: add list of allowed node ids to Order
This commit is contained in:
parent
093cd3f0b2
commit
c85f2175dc
3 changed files with 605 additions and 555 deletions
1136
poolrpc/trader.pb.go
1136
poolrpc/trader.pb.go
File diff suppressed because it is too large
Load diff
|
|
@ -620,6 +620,14 @@ message Order {
|
|||
|
||||
// The channel type to use for the resulting matched channels.
|
||||
OrderChannelType channel_type = 13;
|
||||
|
||||
// List of nodes that will be allowed to match with our order. Incompatible
|
||||
// with the `not_allowed_node_ids` field.
|
||||
repeated bytes allowed_node_ids = 14;
|
||||
|
||||
// List of nodes that won't be allowed to match with our order. Incompatible
|
||||
// with the `allowed_node_ids` field.
|
||||
repeated bytes not_allowed_node_ids = 15;
|
||||
}
|
||||
|
||||
message Bid {
|
||||
|
|
|
|||
|
|
@ -2000,6 +2000,22 @@
|
|||
"channel_type": {
|
||||
"$ref": "#/definitions/poolrpcOrderChannelType",
|
||||
"description": "The channel type to use for the resulting matched channels."
|
||||
},
|
||||
"allowed_node_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
},
|
||||
"description": "List of nodes that will be allowed to match with our order. Incompatible\nwith the `not_allowed_node_ids` field."
|
||||
},
|
||||
"not_allowed_node_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"format": "byte"
|
||||
},
|
||||
"description": "List of nodes that won't be allowed to match with our order. Incompatible\nwith the `allowed_node_ids` field."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue