monero-integrations / monerophp

Monero PHP library + JsonRPC Client
MIT License
118 stars 76 forks source link

Add new account_index and subaddr_indices parameters to old functions that lack them and include changes from #47 #49

Closed sneurlax closed 6 years ago

sneurlax commented 6 years ago

0.12 "Lithium Luna" added the account_index and subaddr_indices parameters to several old methods. This pull request adds them. It is important to note that this is based off of https://github.com/monero-integrations/monerophp/pull/47 , so merging this in will incidentally merge that in, too.

This also adds the query_key method and gracefully upgrades get_transfers to support the old syntax as well as the new format and feeding all params in as an object, as well (like the transfer and sweep methods.)