Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add sizes of a block/transaction #97

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions PRD.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
- Difficulty: `compact_target` of the block
- Nonce: `nonce` of the block
- Count of uncle blocks: `uncles` of the block
- Block size: size of the block, size of the largest block in the current epoch, size of the largest block on the chain(except the genesis block)
- Miner: miner address, link to `/address/{miner}`
- Miner message: parsed from witness of the cellbase.
- Epoch: epoch index of the block
Expand Down Expand Up @@ -123,6 +124,8 @@
- Download button: click to download raw data structure of the transaction
- Block Height: number of block packaged this transaction, link to `/block/{number}`
- Transaction fee: fee of this transaction, equals to `sum(output.capacity) - sum(input.capacity)`
- Transaction fee rate: `fee / size`
- Transaction size: size of the transaction, size of the largest transaction in the current epoch, size of the largest transaction on the chain(except txs in the genesis block
- Timestamp: timestamp of the block packaged this transaction
- Status: `pending` or `x confirmations`, confirmations is the depth of block
- Transaction parameters
Expand Down