bisq/cli/src
ghubstan ae41e98db9
Add API API method 'getnetwork'
Returns name of the BTC network API daemon is connected to.

I am working on some Java bot examples in another repo, and want to stop
worrying about accidentally simulating trade payments on mainnet, despite
all the warnings I add in comments.  The 'getnetwork' method allows bots
to know what network the API daemon is connected to, and gives API bot
devs and users a way to avoid one potential source of costly mistakes.

API CLI manpage and apitest case are included in this commit.
2022-06-16 15:31:03 -03:00
..
main Add API API method 'getnetwork' 2022-06-16 15:31:03 -03:00
test/java/bisq/cli Move get (cryptocurrency) offer filter to daemon 2022-03-03 16:19:00 -03:00