mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 11:26:52 +00:00
chunks yml
This commit is contained in:
parent
6cf2e1fa0b
commit
feca2e279a
5
models/descriptions/author.md
Normal file
5
models/descriptions/author.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs author %}
|
||||
|
||||
The author of the block, chunk or shard.
|
||||
|
||||
{% enddocs %}
|
||||
5
models/descriptions/chunk.md
Normal file
5
models/descriptions/chunk.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs chunk %}
|
||||
|
||||
A single chunk from the shard. Chunk is an aggregation of transactions and receipts which are executed within a particular shard.
|
||||
|
||||
{% enddocs %}
|
||||
5
models/descriptions/chunk_hash.md
Normal file
5
models/descriptions/chunk_hash.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs chunk_hash %}
|
||||
|
||||
The identifier for the chunk.
|
||||
|
||||
{% enddocs %}
|
||||
5
models/descriptions/chunk_transactions.md
Normal file
5
models/descriptions/chunk_transactions.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs chunk_transactions %}
|
||||
|
||||
The transactions object from the chunks.
|
||||
|
||||
{% enddocs %}
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs header %}
|
||||
|
||||
A json column containing the blocks header information.
|
||||
A json column containing header information from the object: block or chunk.
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
5
models/descriptions/height_created.md
Normal file
5
models/descriptions/height_created.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs height_created %}
|
||||
|
||||
The block height at which the chunk was created, may not be the same as the height for when the chunk is included depending on processing time.
|
||||
|
||||
{% enddocs %}
|
||||
5
models/descriptions/height_included.md
Normal file
5
models/descriptions/height_included.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs height_included %}
|
||||
|
||||
The block height at which the chunk is finalized and included, formally appending the outcome to the chain.
|
||||
|
||||
{% enddocs %}
|
||||
5
models/descriptions/receipts.md
Normal file
5
models/descriptions/receipts.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs receipts %}
|
||||
|
||||
An array of receipts included in the chunk or exection outcome.
|
||||
|
||||
{% enddocs %}
|
||||
63
models/silver/streamline/silver__streamline_chunks.yml
Normal file
63
models/silver/streamline/silver__streamline_chunks.yml
Normal file
@ -0,0 +1,63 @@
|
||||
version: 2
|
||||
|
||||
models:
|
||||
- name: silver__streamline_chunks
|
||||
description: |-
|
||||
Parses extracted chunk data from the shards.
|
||||
|
||||
columns:
|
||||
- name: BLOCK_ID
|
||||
description: "{{ doc('block_id')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: SHARD_ID
|
||||
description: "{{ doc('shard_id')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: _LOAD_TIMESTAMP
|
||||
description: "{{ doc('_load_timestamp')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: CHUNK
|
||||
description: "{{ doc('chunk')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- unique
|
||||
|
||||
- name: HEIGHT_CREATED
|
||||
description: "{{ doc('height_created')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: HEIGHT_INCLUDED
|
||||
description: "{{ doc('height_included')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: AUTHOR
|
||||
description: "{{ doc('author')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: CHUNK_HASH
|
||||
description: "{{ doc('chunk_hash')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: HEADER
|
||||
description: "{{ doc('header')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: RECEIPTS
|
||||
description: "{{ doc('receipts')}}"
|
||||
tests:
|
||||
- not_null
|
||||
|
||||
- name: CHUNK_TRANSACTIONS
|
||||
description: "{{ doc('chunk_transactions')}}"
|
||||
tests:
|
||||
- not_null
|
||||
Loading…
Reference in New Issue
Block a user