Skip to content

Commit

Permalink
temp 3
Browse files Browse the repository at this point in the history
  • Loading branch information
thunderbiscuit committed Dec 12, 2023
1 parent 3c274dd commit 30f19ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions docs/architecture/checkpoint.md
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?
4 changes: 0 additions & 4 deletions docs/architecture/localchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ pub struct Update {
pub introduce_older_blocks: bool,
}
```

TODO: An update _must_ contain a block to connect to the LocalChain, otherwise it doesn't know how to apply that update.

# Questions

0 comments on commit 30f19ec

Please sign in to comment.