docs: update docs for new pinned dependency
This commit is contained in:
parent
0b07b8ed05
commit
fbec953149
@ -33,6 +33,8 @@ To build with the MSRV you will need to pin dependencies as follows:
|
|||||||
cargo update -p hashlink --precise "0.8.1"
|
cargo update -p hashlink --precise "0.8.1"
|
||||||
# tokio 1.30.0 has MSRV 1.63.0
|
# tokio 1.30.0 has MSRV 1.63.0
|
||||||
cargo update -p tokio --precise "1.29.1"
|
cargo update -p tokio --precise "1.29.1"
|
||||||
|
# flate2 1.0.27 and up do not work with Rust 1.61.0, but 1.0.26 does
|
||||||
|
cargo update -p flate2 --precise "1.0.26"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
@ -26,7 +26,7 @@ val databaseConfig = DatabaseConfig.Memory
|
|||||||
|
|
||||||
val blockchainConfig = BlockchainConfig.Electrum(
|
val blockchainConfig = BlockchainConfig.Electrum(
|
||||||
ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true)
|
ElectrumConfig("ssl://electrum.blockstream.info:60002", null, 5u, null, 10u, true)
|
||||||
)
|
)
|
||||||
val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig)
|
val wallet = Wallet(externalDescriptor, internalDescriptor, Network.TESTNET, databaseConfig, blockchainConfig)
|
||||||
val newAddress = wallet.getAddress(AddressIndex.LastUnused)
|
val newAddress = wallet.getAddress(AddressIndex.LastUnused)
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user