mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-09 21:25:48 +00:00
Compare commits
1 Commits
patch-conf
...
fix_inject
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e57c9add25 |
@@ -795,26 +795,17 @@
|
||||
# [workers]
|
||||
#
|
||||
# Configures the number of threads for processing work submitted by peers
|
||||
# and clients. If not specified, then the value is depends on the node_size
|
||||
# and the number of cores: Nodes running in stand alone mode default to 1 worker.
|
||||
# node_size | cores | threads |
|
||||
# huge | >16 | 14 |
|
||||
# large | >8 | 10 |
|
||||
# medium | any | 6 |
|
||||
# small | any | 6 |
|
||||
# tiny | any | 6 |
|
||||
#
|
||||
# and clients. If not specified, then the value is automatically set to the
|
||||
# number of processor threads plus 2 for networked nodes. Nodes running in
|
||||
# stand alone mode default to 1 worker.
|
||||
#
|
||||
# [io_workers]
|
||||
#
|
||||
# Configures the number of threads for processing raw inbound and outbound IO.
|
||||
# Default is 1 thread when cores == 1 or node_size is tiny & cores == 2.
|
||||
# Otherwise default is 2.
|
||||
#
|
||||
# [prefetch_workers]
|
||||
#
|
||||
# Configures the number of threads for performing nodestore prefetching.
|
||||
# Default is 4.
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
@@ -1857,8 +1857,7 @@ hook::finalizeHookResult(
|
||||
uint16_t exec_index = avi.nextHookExecutionIndex();
|
||||
// apply emitted transactions to the ledger (by adding them to the emitted
|
||||
// directory) if we are allowed to
|
||||
std::vector<std::pair<uint256 /* txnid */, uint256 /* emit nonce */>>
|
||||
emission_txnid;
|
||||
std::map<uint256 /* txnid */, uint256 /* emit nonce */> emission_txnid;
|
||||
|
||||
if (doEmit)
|
||||
{
|
||||
@@ -1883,7 +1882,7 @@ hook::finalizeHookResult(
|
||||
.getField(sfEmitDetails)
|
||||
.downcast<STObject>();
|
||||
|
||||
emission_txnid.emplace_back(
|
||||
emission_txnid.emplace(
|
||||
id, emitDetails.getFieldH256(sfEmitNonce));
|
||||
sleEmitted = std::make_shared<SLE>(emittedId);
|
||||
|
||||
|
||||
@@ -386,17 +386,6 @@ LedgerHistory::handleMismatch(
|
||||
JLOG(j_.error()) << "built\n" << getJson({*builtLedger, {}});
|
||||
JLOG(j_.error()) << "valid\n" << getJson({*validLedger, {}});
|
||||
|
||||
{
|
||||
auto b = builtTx.begin();
|
||||
auto v = validTx.begin();
|
||||
while (b != builtTx.end() && v != validTx.end())
|
||||
{
|
||||
log_one(*builtLedger, (*b)->key(), "validInfo", j_);
|
||||
log_one(*validLedger, (*v)->key(), "builtInfo", j_);
|
||||
++b;
|
||||
++v;
|
||||
}
|
||||
}
|
||||
// Log all differences between built and valid ledgers
|
||||
auto b = builtTx.begin();
|
||||
auto v = validTx.begin();
|
||||
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
auto vCurrent = BuildInfo::getEncodedVersion();
|
||||
BEAST_EXPECT(!BuildInfo::isNewerVersion(vCurrent));
|
||||
|
||||
auto vMax = BuildInfo::encodeSoftwareVersion("2100.12.30");
|
||||
auto vMax = BuildInfo::encodeSoftwareVersion("9999.12.30");
|
||||
BEAST_EXPECT(BuildInfo::isNewerVersion(vMax));
|
||||
|
||||
auto vRelease1 = BuildInfo::encodeSoftwareVersion("2023.1.1-release+1");
|
||||
|
||||
Reference in New Issue
Block a user