Skip to content

Commit e2bf574

Browse files
committed
doc
1 parent 5961a23 commit e2bf574

File tree

1 file changed

+4
-2
lines changed
  • toolkit/data-sources/db-sync/src

1 file changed

+4
-2
lines changed

toolkit/data-sources/db-sync/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@
6363
//! Partner Chains data sources require specific Db-Sync configuration to be set for them to
6464
//! operate correctly:
6565
//! - `insert_options.tx_out.value`: must be either `"enable"` (default) or `"consumed"`.
66-
//! When `"consumed"` is used then `tx_out.force_tx_in` has to be `true`.
67-
//! Code in this crate depends on `tx_in` table being present.
66+
//! The data sources in this crate that need to query transaction intputs automatically detect
67+
//! which option is used and adjust their queries accordingly. This requires the database to be
68+
//! already initialized by db-sync. When run for an uninitialized database, the data sources
69+
//! will default to the `"enable"` option.
6870
//! - `insert_options.tx_out.use_address_table`: must be `false` (default).
6971
//! - `insert_options.ledger`: must be `"enable"` (default).
7072
//! - `insert_options.multi_asset`: must be `true` (default).

0 commit comments

Comments
 (0)