full serverInfo response
Closed this issue · 3 comments
Line 277 in 5c74ed6
could the full response be added as a sub property of the filtered params you have here already?
That would be very easy to add, but wouldn't issuing another server_info
call get you the same thing with about zero overhead? (That's a cheap call)
What I'm doing but I fire that call often to check connection up. So it's x2 every sec or so. Was just after it a little cleaner. Esp as I'm requesting multiple books, and sending payments was uneasy with throttling from the node. But if that's not to be worried about then I'll just do that.
The lib. only calls the server_info once, and then updates other info based on the closed ledger info it's receiving. So if you want the full server_info
data you will have to query it yourself, as the lib. doesn't have that info in the first place 😇