Skip to main content

Questions tagged [libbitcoin]

Filter by
Sorted by
Tagged with
2 votes
1 answer
57 views

Non-witness P2SH spending using C++ libbitcoin

I am trying to spend an UTXO (non-witness P2SH) using libbitcoin. I've look at libbitcoin-system wiki documentation (https://github.com/libbitcoin/libbitcoin-system/wiki) but haven't found a solution ...
paranoid's user avatar
  • 177
0 votes
1 answer
41 views

Unable to `make` libbitcoin on Debian VPS

I'm trying to install the libbitcoin-rpc but I'm getting the following error when I try to install with make: gcc -fPIC -O3 -g -Wall -Werror -Wextra -std=c99 -D VERSION=\"0.2\" -o src/...
zerotobtc's user avatar
  • 323
1 vote
1 answer
160 views

Libbitcoin How to generate addresses on demand from xpub?

Well, I am really new to this. Just installed libbitcoin and I am reading trough the wiki and everything. Could someone really quick hint me how to generate addresses whenever I want from xpub that ...
Dan's user avatar
  • 27
0 votes
0 answers
60 views

problem to compil code addr.cpp

Trying to compile with g++ -o addr addr.cpp -std=c++11 $(pkg-config --cflags --libs libbitcoin) is getting me this error: /home/user/myprefix/lib/libsecp256k1.a(libsecp256k1_la-secp256k1.o) : Dans la ...
xubu1957's user avatar
1 vote
1 answer
84 views

Why I'm getting different merkleroot?

I'm using merkle.cpp code (which uses the libbitcoin library for some helper functions) from Mastering Bitcoin book. I was trying to re-create Merkleroot hash for Bitcoin block #100000 containing 4 ...
Remis's user avatar
  • 137
1 vote
0 answers
31 views

If I install libbitcoin-explorer will it be seperate from other libbitcoin repositories?

I am installing libbitcoin-explorer on a Raspberry Pi with the ./install.sh script and I wonder if this does anything to my existing installation of libbitcoin-system. Which files will be installed? ...
bomben's user avatar
  • 518
0 votes
2 answers
631 views

Problem to link to libsecp256k1 on ARM architecture

Trying to compile with g++ -o addr 69_addr2.cpp $(pkg-config --cflags --libs libbitcoin) is getting me this error: /usr/bin/ld: /home/pi/libbitcoininstall/lib/libsecp256k1.a(libsecp256k1_la-secp256k1....
bomben's user avatar
  • 518
1 vote
2 answers
386 views

Was libbitcoin a part of bitcoin core in the past?

I am trying to use c++ code from the book of Antonopoulos for some time now and I seem to lack an include named bitcoin/bitcoin.hpp. To compile the code the g++ compiler gets a pkg-config input with ...
bomben's user avatar
  • 518
2 votes
1 answer
141 views

How to understand wallets?

I'm trying to generate a mnemonic seed, and everything that goes with that. I'm using c++ / libbitcoin, using the following code - https://github.com/libbitcoin/libbitcoin-system/wiki/Examples-from-...
btcq4u's user avatar
  • 21
3 votes
1 answer
256 views

How to update an older C++ code from Antonopoulos' book to work with current libraries?

I am trying to compile a code in C++ from the Book "Mastering Bitcoin" by Antonopoulos (page 69). I am new to all of this, including C++, python, etc. I see it as a way of doing something ...
bomben's user avatar
  • 518
1 vote
0 answers
48 views

When installing libbitcoin is there an option to deactivate the warnings?

When installing libbitcoin from here with $ ./install.sh --prefix=/home/me/myprefix --build-boost --disable-shared after most of the compilation is done there are checks of the sourcecode with ...
bomben's user avatar
  • 518
0 votes
2 answers
66 views

When installing libbitcoin there are checks of the code, why is this?

When installing libbitcoin from here with $ ./install.sh --prefix=/home/me/myprefix --build-boost --disable-shared after most of the compilation is done there seem to be checks of the sourcecode with ...
bomben's user avatar
  • 518
0 votes
1 answer
575 views

How to convert a python example with getinfo to a usable function?

From Antonopoulos' book I try to use the example 3-3 on page 49 which uses a python skript called rpc_example.py to show the usage of the JSON-RPC API: from bitcoin.rpc import RawProxy p = ...
bomben's user avatar
  • 518
1 vote
1 answer
286 views

How to determine right address from address hash

I'm using private libbitcoin server and libbitcoin explorer. When I use bx fetxh-transaction, it returns something like: I'm trying to figure out, how to get right address from address_hash. When I ...
Ramirez's user avatar
  • 13
1 vote
2 answers
2k views

error code: -26 error message: 16: mandatory-script-verify-flag-failed (Signature is found in scriptCode)

I am building a simple p2pkh transaction using libbitcoin. Trying to pass it through my regtest node. I am getting the following error message. error code: -26 error message: 16: mandatory-script-...
Rajarshi Maitra's user avatar
0 votes
1 answer
100 views

Number of bitcoins mined algorithm

Is there a library to know the number of bitcoin mined at a given block number ?
franck's user avatar
  • 117
0 votes
3 answers
1k views

Not able to use bitcoin/bitcoin.hpp

the libbitcoin library seems to have been installed just fine. but the following code can't seem to include bitcoin/bitcoin.hpp #include<bitcoin/bitcoin.hpp> #include<iostream> using ...
Ang's user avatar
  • 27
0 votes
1 answer
656 views

How can I create uncompressed public key in C++?

I need to derive public key from my private key in uncompressed form. I know how to create compressed one with libbitcoin, but I can't find appropriate method for uncompressed form there. Are there ...
30mb1's user avatar
  • 113
0 votes
1 answer
378 views

Building libbitcoin libraries on Arch linux fails

I'm trying to build libbitcoin libraries on Arch linux. First I tried to download AUR packages. I successfully installed libsecp256k1 and libbitcoin. But if I try to compile libbitcoin-system and ...
jakob's user avatar
  • 313
1 vote
0 answers
208 views

Bitcoin Cash tx with bx [closed]

Is there a way to craft a transaction with bitcoin explorer (bx) on the Bitcoin Cash blockchain ?
bm842's user avatar
  • 111
0 votes
1 answer
509 views

What causes this error when installing libbitcoin?

I'm trying to install libbitcoin on Mac os 10.9, with Eclipse for C++. I follow the instructions given on github (https://github.com/libbitcoin/libbitcoin), then I include: #include <bitcoin/...
Rexcirus's user avatar
  • 381
0 votes
2 answers
512 views

Obelisk servers

Obelisk servers are implemented by several libraries like Pybitcointools and Libbitcoin's SX/BX tools; there also appears to be shared(?) repositories between Spesmilo and Libbitcoin. What is the ...
Wizard Of Ozzie's user avatar