[#271] Namespace checkpoint assets

This commit is contained in:
Carter Jernigan 2022-06-13 09:21:13 -04:00 committed by Carter Jernigan
parent 971c65a520
commit 016df9a623
294 changed files with 5 additions and 5 deletions

View File

@ -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).

View File

@ -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