Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include "base58.h"
#include <assert.h>
#include <string>
#include <vector>
#include "crypto/hash.h"
#include "int-util.h"
--- base58.cpp 2022-06-09 09:57:03.000000000 +0900
+++ base58.new.cpp 2022-06-09 23:49:46.000000000 +0900
@@ -34,7 +34,6 @@
#include <string>
#include <vector>
-#include "crypto/hash.h"
#include "int-util.h"
#include "util.h"
#include "varint.h"
--- CMakeLists.txt 2022-05-23 00:11:29.000000000 +0900
+++ CMakeLists.new.txt 2022-06-09 09:55:51.000000000 +0900
@@ -29,6 +29,7 @@
include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR})
set(common_sources
+ aaa.cpp
base58.cpp
command_line.cpp
dns_utils.cpp
--- CMakeLists.txt 2022-05-23 00:11:29.000000000 +0900
+++ CMakeLists.new.txt 2022-06-08 00:45:24.000000000 +0900
@@ -29,7 +29,7 @@
include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR})
set(common_sources
- base58.cpp
+ zbase58.cpp
command_line.cpp
dns_utils.cpp
--- CMakeLists.txt 2022-06-07 01:49:26.000000000 +0900
+++ CMakeLists-new.txt 2022-06-07 01:55:26.000000000 +0900
@@ -37,7 +37,7 @@
transaction_history.cpp
pending_transaction.cpp
utils.cpp
- address_book.cpp
+ zaddress_book.cpp
subaddress.cpp
subaddress_account.cpp
@stoffu
stoffu / foo.cpp
Created February 20, 2022 01:27
foo
#include <iostream>
int main () {
std::cout << "foo" << std::endl;
}
--- Yarr.h 2020-03-03 22:10:32.000000000 +0900
+++ Yarr_fixed.h 2022-02-16 22:23:55.000000000 +0900
@@ -27,6 +27,7 @@
#pragma once
+#include <limits>
#include <limits.h>
#include "YarrErrorCode.h"
--- qbytearraymatcher.h 2020-03-27 18:49:31.000000000 +0900
+++ qbytearraymatcher_fixed.h 2022-02-15 23:00:19.000000000 +0900
@@ -40,6 +40,8 @@
#ifndef QBYTEARRAYMATCHER_H
#define QBYTEARRAYMATCHER_H
+#include <limits>
+
#include <QtCore/qbytearray.h>
--- qfloat16.h 2020-03-27 18:49:31.000000000 +0900
+++ qfloat16_fixed.h 2022-02-15 22:56:14.000000000 +0900
@@ -41,6 +41,8 @@
#ifndef QFLOAT16_H
#define QFLOAT16_H
+#include <limits>
+
#include <QtCore/qglobal.h>
#include <QtCore/qmetatype.h>
--- find_sdk.py 2020-03-24 18:16:30.000000000 +0900
+++ find_sdk~.py 2022-02-14 22:45:06.000000000 +0900
@@ -42,7 +42,10 @@
def parse_version(version_str):
"""'10.6' => [10, 6]"""
- return map(int, re.findall(r'(\d+)', version_str))
+ ret = map(int, re.findall(r'(\d+)', version_str))
+ if (len(ret) > 2):
+ ret = ret[0 : 2]