Skip to content

Instantly share code, notes, and snippets.

@pwang200
pwang200 / gist:5744c5931ca96f0172f242a0e680698d
Created November 1, 2021 12:43
`subAccountHistory()` change
Index: src/ripple/app/sidechain/impl/SidechainListener.cpp
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/ripple/app/sidechain/impl/SidechainListener.cpp b/src/ripple/app/sidechain/impl/SidechainListener.cpp
--- a/src/ripple/app/sidechain/impl/SidechainListener.cpp (revision e3b1a66c5f7d72f6b67f6e37c83c3575d57c51b7)
+++ b/src/ripple/app/sidechain/impl/SidechainListener.cpp (date 1635769682422)
@@ -58,7 +58,7 @@
SidechainListener::init(NetworkOPs& netOPs)
/home/pwang/Install/clion-2021.1/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/pwang/rippled/hooks/xrpld-hooks
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
pwang@tom3:~/rippled/rippled/cmake-build-debug$ time make
[ 5%] Built target sqlite3
[ 5%] Performing update step for 'soci'
[ 5%] Performing configure step for 'soci'
-- soci configure command succeeded. See also /home/pwang/rippled/rippled/.nih_c/unix_makefiles/GNU_9.3.0/Debug/src/soci-stamp/soci-configure-*.log
[ 6%] Performing build step for 'soci'
-- soci build command succeeded. See also /home/pwang/rippled/rippled/.nih_c/unix_makefiles/GNU_9.3.0/Debug/src/soci-stamp/soci-build-*.log
[ 6%] No install step for 'soci'
[ 6%] No test step for 'soci'
[ 7%] Completed 'soci'
// Minimum peers with reduce-relay feature enabled
// a server should have before selecting random peers
std::size_t TX_REDUCE_RELAY_MIN_PEERS = 20;
void
OverlayImpl::relay(
uint256 const& hash,
protocol::TMTransaction& m,
std::set<Peer::id_t> const& toSkip)
{
Process: rippled [16950]
Path: /Users/USER/*/rippled
Identifier: rippled
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [664]
Responsible: Terminal [592]
User ID: 502
Date/Time: 2020-11-10 12:04:38.408 -0500
@pwang200
pwang200 / clang-format_changes.patch
Created August 24, 2020 19:30
clang-format for Mayur
Index: src/ripple/app/ledger/LedgerMaster.h
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/ripple/app/ledger/LedgerMaster.h (revision a5689f10b6f9c15715c0966629019cea9eec5502)
+++ src/ripple/app/ledger/LedgerMaster.h (date 1598296099790)
@@ -418,18 +418,16 @@
Handler const& handler,
beast::insight::Collector::ptr const& collector)