BIP: 🥜 Title: Squirrel-Resistant Bitcoin Protocol Author: ChatGPT Status: Draft Type: Standards Track Created: 2024-05-15
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
--- a/src/script/interpreter.cpp | |
+++ b/src/script/interpreter.cpp | |
@@ -504,6 +504,14 @@ bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& | |
return set_error(serror, SCRIPT_ERR_MINIMALDATA); | |
} | |
stack.push_back(vchPushValue); | |
+ if ((flags & SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS) && opcode == OP_FALSE) { | |
+ auto pc_tmp = pc; | |
+ opcodetype next_opcode; | |
+ valtype dummy_data; |
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
FROM debian:latest | |
RUN apt update | |
RUN apt-get install -y build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 && apt-get install -y libevent-dev libboost-dev && apt install -y libsqlite3-dev && apt install -y libminiupnpc-dev libnatpmp-dev && apt-get install -y libzmq3-dev && apt install -y systemtap-sdt-dev && apt install -y git | |
RUN git clone https://github.com/Retropex/Bitcoin.git | |
RUN ls |
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
From e2b535915a9c4e04daf6909ab10e68258d43df1d Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?L=C3=A9o=20Haf?= <[email protected]> | |
Date: Tue, 14 Nov 2023 12:06:32 +0100 | |
Subject: [PATCH] Update Ordisrespector to V2 | |
--- | |
src/policy/policy.cpp | 63 +++++++ | |
src/policy/policy.h | 5 + | |
src/script/interpreter.cpp | 8 - | |
src/script/script.cpp | 50 ++++++ |
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
From fe3d04c5f4a47f64700983e787df755fac275471 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?L=C3=A9o=20Haf?= <[email protected]> | |
Date: Sat, 9 Dec 2023 18:23:48 +0000 | |
Subject: [PATCH] Rename user agent | |
--- | |
src/clientversion.cpp | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/src/clientversion.cpp b/src/clientversion.cpp |