bisq/apitest
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
..
docs Fix BSQ swap description of BTC price for 1 BSQ 2022-02-23 19:44:25 -03:00
scripts Rename API method keepfunds -> closetrade 2022-01-05 12:10:46 -03:00
src Add API API method 'getnetwork' 2022-06-16 15:31:03 -03:00
dao-setup.gradle Delete generated rate metering config files in cleanDaoSetup task 2021-09-02 15:20:32 -03:00