Skip to content

Commit

Permalink
Merge pull request #204 from stellar/remove_ledger_ops_limit
Browse files Browse the repository at this point in the history
Remove ledger ops limit
  • Loading branch information
chowbao authored Oct 18, 2023
2 parents 5ffbe92 + ecb88e5 commit 8c73c6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions docker/stellar-core_testnet.cfg
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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}"
HISTORY="curl -sf http://history.stellar.org/prd/core-testnet/core_testnet_003/{0} -o {1}"
3 changes: 0 additions & 3 deletions internal/transform/ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8c73c6b

Please sign in to comment.