oura 2.2.0

The tail of Cardano
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[source]
type = "N2N"
peers = ["backbone.mainnet.cardanofoundation.org:3001"]

[intersect]
type = "Point"
value = [114220807, "01822b10afde3d09bd5e72758857b669ddadcdaad6776a3dc8ee902c3ace1d7e"]

[[filters]]
type = "SplitBlock"

[sink]
type = "SqlDb"
connection = "postgres://postgres:example@localhost:5432/postgres"
apply_template = "INSERT INTO txs (slot, cbor) VALUES ('{{point.slot}}', decode('{{record.hex}}', 'hex'));"
undo_template = "DELETE FROM txs WHERE slot = {{point.slot}}"
reset_template = "DELETE FROM txs WHERE slot > {{point.slot}}"