-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c274dd
commit 30f19ec
Showing
2 changed files
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
# The `CheckPoint` type | ||
# CheckPoints | ||
|
||
A `CheckPoint` is a type that contains a block height and hash, and potentially a pointer to a previous `CheckPoint`. For example, printing the CheckPoint for the genesis block of testnet, you get this: | ||
```shell | ||
CheckPoint(CPInner { block: BlockId { height: 0, hash: 0x000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 }, prev: None }) | ||
``` | ||
### Question: What are CheckPoints for? | ||
From the API docs: _A LocalChain checkpoint is used to find the agreement point between two chains and as a transaction anchor._ | ||
1. I'm not sure what "finding the agreement point between two chains" means | ||
2. What's a transaction anchor, and why is it important? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters