Releases: Chia-Network/go-chia-libs
Releases · Chia-Network/go-chia-libs
v0.2.1
- Adds get_connections for farmer, harvester, wallet
- Adds a start to godoc examples
v0.2.0
What's Changed
Breaking Changes
-
Adds two options for supplying configuration to the app.
-
Autoconfig: The old default method. Will automatically locate CHIA_ROOT based on env or the default location, and load config, certs, etc from there
client, err := rpc.NewClient(rpc.ConnectionModeHTTP, rpc.WithAutoConfig(), opts...)
-
Manual Config: You provide your own config struct to the client, which will then be used for all ports, certs, etc.
client, err := rpc.NewClient(rpc.ConnectionModeHTTP, rpc.WithManualConfig(config.ChiaConfig{...}), opts...)
-
Other Changes
- Lazy load http clients and keypairs so that only services that are actually used by HTTP client need to have certs and port config available
- Start to RPC client unit tests
- Add pagination params to nft_get_nfts
Full Changelog: v0.1.1...v0.2.0
v0.1.1
- Adds
Pointer
method
v0.1.0
Potential Breaking Changes
- Adds a bunch of custom types for Bytes, Bytes32, etc that marshal and unmarshal to 0x prefixed hex (how this is handled in Chia RPCs). All types have been updated to use these new types where applicable, instead of
string
Other Changes
- Full Node RPC:
get_puzzle_and_solution
- Wallet RPC:
nft_get_by_did
v0.0.22
- Add full node push_tx endpoint
- Add wallet delete_all_keys endpoint
v0.0.21
- Adds get_fee_estimate endpoint
v0.0.20
- Create
ClientOption
for configuring the http timeout on the http RPC Client - Wallet RPC:
get_public_keys
- Wallet RPC:
generate_mnemonic
- Wallet RPC:
add_key
- Wallet RPC:
get_next_address
- Wallet RPC:
get_spendable_coins
- Wallet RPC:
create_signed_transaction
- Wallet RPC:
send_transaction_multi
v0.0.19
- Add get_coin_record_by_name endpoint
v0.0.18
- Rename
CoinSolution
toCoinSpend
v0.0.17
- Add
GetWalletsOptions
forget_wallets
endpoint - Fix double json encoding for the cases where options are nil on a request
- Wrap writes to websockets with a lock