-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ingest/ledgerbackend: Update captive-core config with new BucketlistD…
…B parameters (#5333) * Update bucketlistdb config parameters * Remove EXPERIMENTAL_BUCKETLIST_DB flag * Add DEPRECATED_SQL_LEDGER_STATE param. Add unit tests for DEPRECATED_SQL_LEDGER_STATE. * Update changelog * Update Horizon changelog
- Loading branch information
Showing
34 changed files
with
199 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
ingest/ledgerbackend/testdata/expected-bucketlistdb-core.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated file, do not edit | ||
BUCKETLIST_DB_INDEX_CUTOFF = 20 | ||
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 15 | ||
DATABASE = "sqlite3://stellar.db" | ||
DEPRECATED_SQL_LEDGER_STATE = false | ||
FAILURE_SAFETY = -1 | ||
HTTP_PORT = 11626 | ||
LOG_FILE_PATH = "" | ||
NETWORK_PASSPHRASE = "Public Global Stellar Network ; September 2015" | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
QUALITY = "MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
ADDRESS = "localhost:123" | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
NAME = "sdf_testnet_1" | ||
PUBLIC_KEY = "GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
|
||
[HISTORY.h0] | ||
get = "curl -sf http://localhost:1170/{0} -o {1}" |
21 changes: 21 additions & 0 deletions
21
ingest/ledgerbackend/testdata/expected-default-bucketlistdb-core.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated file, do not edit | ||
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 12 | ||
DATABASE = "sqlite3://stellar.db" | ||
DEPRECATED_SQL_LEDGER_STATE = false | ||
FAILURE_SAFETY = -1 | ||
HTTP_PORT = 11626 | ||
LOG_FILE_PATH = "" | ||
NETWORK_PASSPHRASE = "Public Global Stellar Network ; September 2015" | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
QUALITY = "MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
ADDRESS = "localhost:123" | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
NAME = "sdf_testnet_1" | ||
PUBLIC_KEY = "GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
|
||
[HISTORY.h0] | ||
get = "curl -sf http://localhost:1170/{0} -o {1}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated file, do not edit | ||
DEPRECATED_SQL_LEDGER_STATE = true | ||
FAILURE_SAFETY = -1 | ||
HTTP_PORT = 11626 | ||
LOG_FILE_PATH = "" | ||
NETWORK_PASSPHRASE = "Public Global Stellar Network ; September 2015" | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
QUALITY = "MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
ADDRESS = "localhost:123" | ||
HOME_DOMAIN = "testnet.stellar.org" | ||
NAME = "sdf_testnet_1" | ||
PUBLIC_KEY = "GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
|
||
[HISTORY.h0] | ||
get = "curl -sf http://localhost:1170/{0} -o {1}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-offline-enforce-diag-events-and-metav1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-offline-enforce-disabled-diagnostic-events.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-offline-with-appendix-core.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-offline-with-extra-fields.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-offline-with-no-peer-port.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-online-with-appendix-minimum-persistent-entry.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-online-with-no-http-port-diag-events-metav1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-online-with-no-http-port.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
ingest/ledgerbackend/testdata/expected-online-with-no-peer-port.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
ingest/ledgerbackend/testdata/sample-appendix-bucketlistdb.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BUCKETLIST_DB_INDEX_CUTOFF = 20 | ||
BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT = 15 | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN="testnet.stellar.org" | ||
QUALITY="MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
NAME="sdf_testnet_1" | ||
HOME_DOMAIN="testnet.stellar.org" | ||
PUBLIC_KEY="GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
ADDRESS="localhost:123" |
11 changes: 11 additions & 0 deletions
11
ingest/ledgerbackend/testdata/sample-appendix-in-memory.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DEPRECATED_SQL_LEDGER_STATE = false | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN="testnet.stellar.org" | ||
QUALITY="MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
NAME="sdf_testnet_1" | ||
HOME_DOMAIN="testnet.stellar.org" | ||
PUBLIC_KEY="GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
ADDRESS="localhost:123" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
DEPRECATED_SQL_LEDGER_STATE = true | ||
|
||
[[HOME_DOMAINS]] | ||
HOME_DOMAIN="testnet.stellar.org" | ||
QUALITY="MEDIUM" | ||
|
||
[[VALIDATORS]] | ||
NAME="sdf_testnet_1" | ||
HOME_DOMAIN="testnet.stellar.org" | ||
PUBLIC_KEY="GDKXE2OZMJIPOSLNA6N6F2BVCI3O777I2OOC4BV7VOYUEHYX7RTRYA7Y" | ||
ADDRESS="localhost:123" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.