77c86888f4
The bitcoin Buildroot package has always disabled the wallet support.
This commit adds a config option to enable this support. This allows the
bitcoin-cli command to create wallets, generate addresses and send an
amount to a given address.
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 958085d5f6
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
55 lines
1.8 KiB
Plaintext
55 lines
1.8 KiB
Plaintext
config BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_TOOLCHAIN_HAS_ATOMIC
|
|
# bitcoin uses 8-byte __atomic intrinsics, which are not
|
|
# available on ARM noMMU platforms that we
|
|
# support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a
|
|
# size-level granularity to express this dependency.
|
|
depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU
|
|
|
|
config BR2_PACKAGE_BITCOIN
|
|
bool "bitcoin"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread, boost-filesystem
|
|
depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # boost
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_BOOST
|
|
select BR2_PACKAGE_BOOST_SYSTEM
|
|
select BR2_PACKAGE_BOOST_FILESYSTEM
|
|
select BR2_PACKAGE_BOOST_THREAD
|
|
select BR2_PACKAGE_LIBEVENT
|
|
help
|
|
Bitcoin Core is an open source project which maintains and
|
|
releases Bitcoin client software called “Bitcoin Core”.
|
|
|
|
It is a direct descendant of the original Bitcoin software
|
|
client released by Satoshi Nakamoto after he published the
|
|
famous Bitcoin whitepaper.
|
|
|
|
Bitcoin Core consists of both "full-node" software for fully
|
|
validating the blockchain as well as a bitcoin wallet. The
|
|
project also currently maintains related software such as
|
|
the cryptography library libsecp256k1 and others located at
|
|
GitHub.
|
|
|
|
https://bitcoincore.org
|
|
|
|
if BR2_PACKAGE_BITCOIN
|
|
|
|
config BR2_PACKAGE_BITCOIN_WALLET
|
|
bool "wallet support"
|
|
select BR2_PACKAGE_SQLITE
|
|
help
|
|
Enable bitcoin wallet support.
|
|
|
|
endif
|
|
|
|
comment "bitcoin needs a toolchain w/ C++, threads, wchar, gcc >= 9"
|
|
depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_9
|