Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.

Commit fa5ab51

Browse files
author
Silas Davis
authored
Merge pull request #1470 from hyperledger/vent-doc
Add vent presentation and README.md link to vent reference doc
2 parents 6f7b533 + b7005f4 commit fa5ab51

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/reference/vent.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Vent - SQL mapping layer
22

3+
34
Vent reads specification files called 'projections', parses their contents, and maps EVM LOG event fields to corresponding SQL columns to create or alter database structures.
45
It listens for a stream of block events from Burrow's GRPC service then parses, unpacks, decodes event data, and builds rows to be upserted in matching event tables, rows are
56
upserted atomically in a single database transaction per block.
@@ -13,6 +14,9 @@ the presence or absence of a `"Primary": true` entry in one of the `FieldMapping
1314
Vent writes each block of updates atomically and is guaranteed to be crash tolerant. If the Vent process is killed it will resume at the last written height. Burrow stores all
1415
previous events in its state so even if you delete the Vent database it can be regenerated deterministically. This feature being a core feature of Vent.
1516

17+
There is a [presentation on vent here](https://competent-yalow-f210f7.netlify.app).
18+
19+
1620
## Projections
1721
A projection is the name given to the configuration files that Vent uses to interpret EVM events as updates or deletion from SQL tables. They provide an object relational mapping
1822
between Solidity events and SQL tables.

vent/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../docs/reference/vent.md

0 commit comments

Comments
 (0)