Open justmoon opened 7 years ago
TODO
----- | --------------
)@sharafian is there a way to find out who has a one sided peering with you?
@vhpoet: You'll receive RPC messages for a prefix you won't know what to do with...
@sharafian: We could make sure that the first RPC message that plugin-virtual sends is a handshake request with the information Vahe needs to detect it as a peering attempt.
@vhpoet: What information should an aspiring peer send? Name, logo, currency?
@justmoon host and currency for now.
Let's also do limit.
@justmoon you mean a suggested limit ?
No, I mean the hello packet should include the limit that the other side set, no?
Talked to @vhpoet - the limit can already be queried and there is already code for querying it, so it makes no sense to include in the hello message.
Peers are now stored in database, but we still need the 'hello' message.
ILP Kit should keep track of current peers as well as adding/removing peers via the database, not via the configuration.
That will allow us to do things like managing peers via the UI (to make it more user-friendly for the operator) and even have an API for adding peers.