Releases: monero-rs/monero-rpc-rs
Releases · monero-rs/monero-rpc-rs
0.5.0
Added
- Added
create_accountmethod by @mchtilianov (#120). - Added
get_tx_proofandcheck_tx_proofmethods by @mchtilianov (#122). - Made request timeout configurable by @silverpill (#131).
- Added
get_blockmethod by @essecara (#123). - Added
rustlssupport by @silverpill (#133). - Added
restore_deterministic_walletmethod by @cilki (#139). - Added
subtract_fee_from_outputstotransferoptions by @thesn10 (#141). - Added
destinationsfield toget_transferreturn value by @bytenotbark (#128). - Added
block_heightfield to struct returned byincoming_transfersby @silverpill (#151). - Added
get_versionmethod toDaemonJsonRpcClientby @silverpill (#152).
Changed
- Bumped MSRV to
1.66.0 - Updated
reqwestto version0.12by @silverpill (#140). - Updated shared github workflows
Fixed
- Fixed
get_transferswithOut=trueincategory_selectorby @bytenotbark (#127).
0.4.0
Added
- Add
signandverifymethods by @silverpill (#105) - Add
get_attributeandset_attributemethods by @refactor-ring (#108)
Changed
- Bump MSRV to
1.63.0 - Run test suite against Monero node and wallet
0.18.1.2and0.18.2.2
0.3.2
Removed
- Disable chrono default features by @silverpill (#87)
0.3.1
Changed
- Rollback Monero library bump from
0.18to0.17
0.3.0
Added
- Add a Builder pattern for the
RpcClientto include a proxy and authentication argument. The proxy allows the usage of e.g. a Tor socks proxy. This argument has to be a string pointing to the the address of the proxy and its protocol prefix, .e.g."socks5://127.0.0.1:9050"for using a socks5 proxy by @TheCharlatan, @refactor-ring, and @h4sh3d (#92) - Implement
Eqon more structs by @TheCharlatan (#78) - Running tests against the latest Monero RPC versions by @h4sh3d (#75, #90)
Changed
0.2.0
Added
- Add tests for types implementing
HashTypeinutils.rs(#59) - Add tests for
HashString's implementation of the traitsDebug,Serialize, andDeserialize, inutils.rs(#59) - Add tests for
models.rs(#63) - Add
PartialEqtrait for the following types insrc/models.rs(#65):BlockTemplate,Transaction,SubaddressBalanceData,BalanceData,TransferPriority,SubaddressData,SubaddressIndex,Payment,AddressData,IncomingTransfers,GotAccount,GetAccountsData,GotTransfer,SignedKeyImage,KeyImageImportResponse
- Add
GenerateBlocksResponsestruct (#65) - Add
allparemeter, of typeOption<bool>to theexport_key_imagesmethod, and pass it to the RPC (#65) - Add an error for
on_get_block_hashon invalid height, instead of returning success with an incorrect hash (#65)
Removed
Changed
- Change any use of
SubAddressIndextoSubaddressIndex(#55) - Change
HashType'sfrom_strimplementation forVec<u8>in order to accept inputs starting with0x(#61) - Change
HashType'sbytesimplementation by addingAsRef<[u8]>as a trait bound and returning theas_refimplementation (#61) - Change any use of
SubaddressIndextosubaddress::Index(#62) - Change types of
addressandaccountindices to useu32instead of u64 (#62) - Change
label_addressto receive an argument namedindexof typesubaddress::Indexinstead of receiving the argumentsaccount_indexandaddress_index, both of typeu64(#62) - Change
get_address_indexto returnanyhow::Result<subaddress::Index>instead ofanyhow::Result<(u64, u64)>(#62) - Use
Amounttype frommonero-rswhere possible (#68) - Rename
DaemonClienttoDaemonJsonRpcClient, andRegtestDaemonClienttoRegtestDaemonJsonRpcClient(#70) - Change
TransferData'stx_keyfield fromHashString<CryptoNoteHash>toHashString<Vec<u8>>(#65) get_balancemethod now passes the correct parameter name to the RPC (#65)- Change
generate_blocksto returnanyhow::Result<GenerateBlocksResponse>instead ofanyhow::Result<u64>(#65) submit_blockmethod now works correctly and had its return type changed toanyhow::Result<()>(#65)- Change
get_paymentsto actually return a vector ofPayments(#65) - Change
check_tx_key'stx_keyparameter to typeVec<u8>(#65) - Change
check_tx_key's return type fromanyhow::Result<(NonZeroU64, bool, NonZeroU64)>toanyhow::Result<(u64, bool, Amount)>, since the first element can be0, and the last element depicts an amount (#65)
0.1.0
Added
- Create RPC clients (
RpcClient) for:WalletClient,DaemonClient,RegtestDaemonClient, andDaemonRpcClient - Wallet methods:
check_tx_key,close_wallet,create_address,create_wallet,export_key_images,generate_from_keys,get_accounts,get_address,get_address_index,get_balance,get_bulk_payments,get_height,get_payments,get_transfer,get_transfers,get_version,import_key_images,incoming_transfers,label_address,open_wallet,query_key,refresh,relay_tx,sign_transfer,submit_transfer,sweep_all,transfer
- Daemon methods:
get_block_count,get_block_header,get_block_headers_range,get_block_template,on_get_block_hash,regtest,submit_block
- Regtest daemon methods:
generate_blocks
- Daemon RPC methods:
get_transactions