Skip to content

0.7.0

Choose a tag to compare

@refring refring released this 13 Oct 10:36
· 47 commits to main since this release

This marks the first release where the API is deemed reasonably stable and the warning about the API being prone to big changes has been removed from the README.

With this release all the rpc methods have now been implemented, except for the 'daemon other' binary methods.

Added

  • Amount class for representing piconeros
  • Renamed Recipient to Destination and it now requires an Amount object
  • Better handling of bigint (de)serialization
  • DaemonRpcClient:: sendRawTransaction()
  • DaemonRpcClient::getAltBlocksHashes()
  • DaemonRpcClient::isKeyImageSpent()
  • DaemonRpcClient::startMining()
  • DaemonRpcClient::stopMining()
  • DaemonRpcClient::miningStatus()
  • DaemonRpcClient::saveBlockchain()
  • DaemonRpcClient::setLogHashRate()
  • DaemonRpcClient::setLogLevel()
  • DaemonRpcClient::setLogCategories()
  • DaemonRpcClient::setLimit()
  • DaemonRpcClient::getLimit()
  • DaemonRpcClient::outPeers()
  • DaemonRpcClient::inPeers()
  • DaemonRpcClient::getPeerList()
  • DaemonRpcClient::update()
  • DaemonRpcClient::setBootstrapDaemon()
  • DaemonRpcClient::getTransactionPoolStats()
  • DaemonRpcClient::getOuts()
  • DaemonRpcClient::getTransactions()
  • DaemonRpcClient::stopDaemon()
  • DaemonRpcClient::getTransactionPool()
  • InvalidDestinationException
  • BigInt class
  • Peer class
  • TransferType::BLOCK
  • REGTEST/fakechain nettype
  • SpentStatus enum

Changed

  • Packagist package name is now refring/monero-rpc-php
  • WalletRpcClient::getTransfers() will now return all types of transfer by default
  • Made accountIndex 0 the default for various methods
  • Many Model classes have been moved into wallet/daemon specific namespaces
  • Always initialize Response class array properties with an empty array
  • Renamed PeerStructure class to SyncPeer
  • Renamed DaemonBaseResponse trait to DaemonBaseResponse
  • Renamed RpcAccessBaseResponse trait to DaemonStandardResponseFields
  • Renamed GetLastBlockHeaderBaseResponse to GetLastBlockHeaderResponse

Fixed

  • Set default ringsize to 16 for WalletRpcClient::transfer()
  • Reset endpoint after callign an 'other' daemon rpc method

Full changelog: 0.6.0...0.7.0