[#271] Namespace checkpoint assets
This commit is contained in:
parent
971c65a520
commit
016df9a623
|
@ -248,7 +248,7 @@ There's also a more comprehensive [Sample Wallet](https://github.com/zcash/zcash
|
|||
[Back to contents](#contents)
|
||||
|
||||
## Checkpoints
|
||||
To improve the speed of syncing with the Zcash network, the SDK contains a series of embedded checkpoints. These should be updated periodically, as new transactions are added to the network. Checkpoints are stored under the [assets](sdk-lib/src/main/assets) directory as JSON files. Checkpoints for both mainnet and testnet are bundled into the SDK.
|
||||
To improve the speed of syncing with the Zcash network, the SDK contains a series of embedded checkpoints. These should be updated periodically, as new transactions are added to the network. Checkpoints are stored under the [assets](sdk-lib/src/main/assets/co.electriccoin.zcash/checkpoint) directory as JSON files. Checkpoints for both mainnet and testnet are bundled into the SDK.
|
||||
|
||||
To update the checkpoints, see [Checkmate](https://github.com/zcash-hackworks/checkmate).
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ class WalletBirthdayToolTest {
|
|||
fun load_latest_birthday() {
|
||||
// Using a separate directory, so that we don't have to keep updating this test each time
|
||||
// mainnet or testnet changes
|
||||
val directory = "saplingtree/goodnet"
|
||||
val directory = "co.electriccoin.zcash/checkpoint/goodnet"
|
||||
|
||||
val context = ApplicationProvider.getApplicationContext<Context>()
|
||||
val birthday = runBlocking {
|
||||
|
@ -43,7 +43,7 @@ class WalletBirthdayToolTest {
|
|||
return
|
||||
}
|
||||
|
||||
val directory = "saplingtree/badnet"
|
||||
val directory = "co.electriccoin.zcash/checkpoint/badnet"
|
||||
val context = ApplicationProvider.getApplicationContext<Context>()
|
||||
val birthday = runBlocking {
|
||||
WalletBirthdayTool.getFirstValidWalletBirthday(
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue