Skip to content

Instantly share code, notes, and snippets.

View hebasto's full-sized avatar
🇺🇦
Bitcoin, Math

Hennadii Stepanov hebasto

🇺🇦
Bitcoin, Math
View GitHub Profile
@hebasto
hebasto / bitcoincore-hmp.md
Created April 4, 2020 09:59
The Bitcoin Core on Heterogeneous Multi-Processing platforms

The Bitcoin Core on Heterogeneous Multi-Processing platforms

Consider a system on the heterogeneous computing ARM big.LITTLE architecture, e.g., ODROID-HC1 powered by Samsung Exynos 5 Octa 5422.

As the Bitcoin Core is a highly computationally intensive application, the usage of ultra-low power and slower LITTLE cores could lead to a substantial lagging and errors (see: bitcoin/bitcoin#16008).

Also there are report about other flaws in LITTLE cores design.

The suggested solution of the described problem is to force the CPU core affinity of the Bitcoin Core processes. On Linux this could be achieved by the [taskset](https://linux.die.net/man/1/t

@hebasto
hebasto / arm-log.md
Created May 2, 2020 20:39
Testing pr18851 on ODROID-HC1
2020-05-02T19:38:40Z [init] Bitcoin Core version v0.20.99.0-68ef9523d (release build)
2020-05-02T19:38:40Z [init] InitParameterInteraction: parameter interaction: -externalip set -> setting -discover=0
2020-05-02T19:38:40Z [init] Assuming ancestors of block 0000000000000000000f2adce67e49b0b6bdeb9de8b7c3d7e93b21e7fc1e819d have valid signatures.
2020-05-02T19:38:40Z [init] Setting nMinimumChainWork=00000000000000000000000000000000000000000e1ab5ec9348e9f4b8eb8154
2020-05-02T19:38:40Z [init] Using the 'standard' SHA256 implementation
2020-05-02T19:38:40Z [init] Default data directory /home/core/.bitcoin
2020-05-02T19:38:40Z [init] Using data directory /var/lib/bitcoind
2020-05-02T19:38:40Z [init] Config file: /etc/bitcoin/bitcoin.conf
2020-05-02T19:38:40Z [init] Config file arg: debug="rpc"
@hebasto
hebasto / guix-sigs.md
Last active March 28, 2024 10:11
The `bitcoin-core/guix.sigs` Repository Workflow

The bitcoin-core/guix.sigs Repository Workflow

Common environment variables

export SIGNER="hebasto"
export GUIX_SIGS_REPO="/home/hebasto/guix.sigs"
export DETACHED_SIGS_REPO="/home/hebasto/bitcoin-detached-sigs"
@hebasto
hebasto / alpine.md
Last active May 1, 2024 18:26
Building Bitcoin Core with GUI on Alpine Linux

Building Bitcoin Core with GUI on Alpine Linux

System

$ cat /etc/alpine-release
3.13.5

Bitcoin Core repository

@hebasto
hebasto / qt-5.15.2-list-features.md
Last active November 18, 2021 11:19
Qt 5.15.2 feature list

This is an output of ./configure -list-features, sorted by groups.

Data structures (2)

datestring .............. Data structures: Provides conversion between dates and strings.
textdate ................ Data structures: Supports month and day names in dates.

Dialogs (12)

@hebasto
hebasto / cmake.md
Last active June 16, 2022 09:28
Bitcoin Core CMake-based build system

Bitcoin Core CMake-based build system

See: hebasto/bitcoin#3

The stuff below has been outdated.


This work is in progress...

@hebasto
hebasto / bionic-unsupported.md
Last active February 7, 2023 11:07
No longer consider Ubuntu Bionic as a build platform

No longer consider Ubuntu Bionic as a supported build platform

According to https://wiki.ubuntu.com/Releases, Bionic reaches "End of Standard Support" in April.

OTOH, it does not mean "End of Life" as it is expected 5 years later, in April 2028.

In terms of Canonical's support, it makes Bionic the same as Xenial and Trusty releases.

In Bionic both default compilers, GCC and Clang, are too old to compile Bitcoin Core: GCC 7.5 and Clang 6.0.

@hebasto
hebasto / libsecp256k1-asm32.md
Last active May 28, 2023 12:29
libsecp256k1 ASM benchmarks
@hebasto
hebasto / libsecp256k1-ct-demo.md
Last active September 18, 2023 11:50
libsecp256k1 Constant-Time Tests Demo