All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.2.0 - 2022-07-29
- Add tests for types implementing
HashType
inutils.rs
(#59) - Add tests for
HashString
's implementation of the traitsDebug
,Serialize
, andDeserialize
, inutils.rs
(#59) - Add tests for
models.rs
(#63) - Add
PartialEq
trait for the following types insrc/models.rs
(#65):- BlockTemplate
- Transaction
- SubaddressBalanceData
- BalanceData
- TransferPriority
- SubaddressData
- SubaddressIndex
- Payment
- AddressData
- IncomingTransfers
- GotAccount
- GetAccountsData
- GotTransfer
- SignedKeyImage
- KeyImageImportResponse
- Add
GenerateBlocksResponse
struct (#65) - Add
all
paremeter, of typeOption<bool>
to theexport_key_images
method, and pass it to the RPC (#65) - Add an error for
on_get_block_hash
on invalid height, instead of returning success with an incorrect hash (#65)
- Change any use of
SubAddressIndex
toSubaddressIndex
(#55) - Change
HashType
'sfrom_str
implementation forVec<u8>
in order to accept inputs starting with0x
(#61) - Change
HashType
'sbytes
implementation by addingAsRef<[u8]>
as a trait bound and returning theas_ref
implementation (#61) - Change any use of
SubaddressIndex
to subaddress::Index` (#62) - Change types of
address
andaccount
indices to useu32
instead of u64 (#62) - Change
label_address
to receive an argument namedindex
of typesubaddress::Index
instead of receiving the argumentsaccount_index
andaddress_index
, both of typeu64
(#62) - Change
get_address_index
to returnanyhow::Result<subaddress::Index>
instead ofanyhow::Result<(u64, u64)>
(#62) - Use
Amount
type frommonero-rs
where possible (#68) - Rename
DaemonClient
toDaemonJsonRpcClient
, andRegtestDaemonClient
toRegtestDaemonJsonRpcClient
(70) - Change
TransferData
'stx_key
field fromHashString<CryptoNoteHash>
toHashString<Vec<u8>>
(#65) get_balance
method now passes the correct parameter name to the RPC (#65)- Change
generate_blocks
to returnanyhow::Result<GenerateBlocksResponse>
instead ofanyhow::Result<u64>
(#65) submit_block
method now works correctly and had its return type changed toanyhow::Result<()>
(#65)- Change
get_payments
to actually return a vector ofPayments
(#65) - Change
check_tx_key
'stx_key
parameter 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 - 2022-06-29
- 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