From ecb88e58291b6c07e8a1efa32d8e12a8df1e3e24 Mon Sep 17 00:00:00 2001 From: Simon Chow Date: Wed, 18 Oct 2023 12:24:51 -0400 Subject: [PATCH] Remove ledger ops limit --- docker/stellar-core_testnet.cfg | 5 +---- internal/transform/ledger.go | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/stellar-core_testnet.cfg b/docker/stellar-core_testnet.cfg index f1f5f50b..e021da5e 100644 --- a/docker/stellar-core_testnet.cfg +++ b/docker/stellar-core_testnet.cfg @@ -1,9 +1,6 @@ HTTP_PORT=11626 PUBLIC_HTTP_PORT=false -EXPERIMENTAL_BUCKETLIST_DB=true -EXPERIMENTAL_BUCKETLIST_DB_INDEX_PAGE_SIZE_EXPONENT=12 - NETWORK_PASSPHRASE="Test SDF Network ; September 2015" # DATABASE="sqlite3://stellar.db" @@ -32,4 +29,4 @@ NAME="sdftest3" HOME_DOMAIN="testnet.stellar.org" PUBLIC_KEY="GC2V2EFSXN6SQTWVYA5EPJPBWWIMSD2XQNKUOHGEKB535AQE2I6IXV2Z" ADDRESS="core-testnet3.stellar.org" -HISTORY="curl -sf http://history.stellar.org/prd/core-testnet/core_testnet_003/{0} -o {1}" \ No newline at end of file +HISTORY="curl -sf http://history.stellar.org/prd/core-testnet/core_testnet_003/{0} -o {1}" diff --git a/internal/transform/ledger.go b/internal/transform/ledger.go index 88fdd611..54d0e0e8 100644 --- a/internal/transform/ledger.go +++ b/internal/transform/ledger.go @@ -52,9 +52,6 @@ func TransformLedger(inputLedger historyarchive.Ledger) (LedgerOutput, error) { outputBaseReserve := uint32(ledgerHeader.BaseReserve) outputMaxTxSetSize := uint32(ledgerHeader.MaxTxSetSize) - if int64(outputMaxTxSetSize) < int64(outputTransactionCount) { - return LedgerOutput{}, fmt.Errorf("the transaction count is greater than the maximum transaction set size (%d > %d) for ledger %d (ledger id=%d)", outputTransactionCount, outputMaxTxSetSize, outputSequence, outputLedgerID) - } outputProtocolVersion := uint32(ledgerHeader.LedgerVersion)