bisq/apitest/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 Remove legacy bitcoind txindex param from apitest harness 2022-05-19 15:56:37 -03:00
test Add API API method 'getnetwork' 2022-06-16 15:31:03 -03:00