-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DEPRECATED_SQL_LEDGER_STATE param. Add unit tests for DEPRECATED_…
…SQL_LEDGER_STATE.
- Loading branch information
Showing
9 changed files
with
129 additions
and
9 deletions.
There are no files selected for viewing
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}" |
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" |
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
services/horizon/docker/captive-core-integration-tests.soroban-rpc.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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
EXPERIMENTAL_BUCKETLIST_DB = true | ||
PEER_PORT=11725 | ||
ARTIFICIALLY_ACCELERATE_TIME_FOR_TESTING=true | ||
|
||
|
1 change: 1 addition & 0 deletions
1
services/horizon/docker/stellar-core-classic-integration-tests.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