This description is a bit confusing: It presents Only UTxO preset config as equivalent to multi_asset: false and then later mentions :
"When syncing is completed, it loads the whole UTxO set from the ledger to the tx_out and ma_tx_out tables. "
Initially populates only a few tables, like block and tx. It maintains a ledger state but doesn't use any of its data. When syncing is completed, it loads the whole UTxO set from the ledger to the tx_out and ma_tx_out tables. After that db-sync can be restarted with ledger set to "disable" to continue syncing without maintaining the ledger
And here is the state after sync:
sancho_new_test_config_only_utxo=# select * from ma_tx_out;
id | quantity | tx_out_id | ident
----+----------+-----------+-------
(0 rows)
sancho_new_test_config_only_utxo=# select * from ma_tx_mint;
id | quantity | tx_id | ident
----+----------+-------+-------
(0 rows)
sancho_new_test_config_only_utxo=# select * from tx_in;
id | tx_in_id | tx_out_id | tx_out_index | redeemer_id
----+----------+-----------+--------------+-------------
(0 rows)
sancho_new_test_config_only_utxo=# select count(*) from tx_out;
count
-------
71771
(1 row)
So my question is - should ma_tx_out be dropped from description in sentence:
When syncing is completed, it loads the whole UTxO set from the ledger to the tx_out and ma_tx_out tables.
or not. Which behaviour is correct, the one described in current docs or code ?
Docs: https://github.com/IntersectMBO/cardano-db-sync/pull/1644/files#diff-c2f1f64eeb5238c809d70b333d9987646e84982e0b133ffa4e0ca1ff86c78448
This description is a bit confusing: It presents Only UTxO preset config as equivalent to
multi_asset: false
and then later mentions : "When syncing is completed, it loads the whole UTxO set from the ledger to the tx_out and ma_tx_out tables. "And here is the state after sync:
So my question is - should
ma_tx_out
be dropped from description in sentence:or not. Which behaviour is correct, the one described in current docs or code ?
Additional Information:
0)
cardano-db-sync
built from here: https://github.com/IntersectMBO/cardano-db-sync/pull/1644 and run with node9.0.0
rev: 2820a63dc934c6d5b5f450b6c2543b81c6476696
1) Config used:
2)
cardano-db-sync
was fully synced -sanchonet
: