bitcoin.conf flags for LND integration
rpcpassword= // make a strong password
rpcuser=bitcoinrpc
server=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28332
Number of seeds during constructor: | |
3 | |
Number of seeds after constructor: | |
0 | |
[2018-10-18 18:10:43.307409] [0x00007fffc33d93c0] [info] Starting manual session. | |
[2018-10-18 18:10:43.307770] [0x000070000d01a000] [info] Seeding is required but no seeds are configured. | |
[2018-10-18 18:10:43.307855] [0x000070000d01a000] [info] Error seeding host addresses: operation failed | |
operation failed | |
[2018-10-18 18:10:43.307895] [0x000070000d01a000] [info] Not configured for accepting incoming connections. | |
[2018-10-18 18:10:43.307935] [0x000070000d01a000] [info] Starting outbound session. |
#include <bitcoin/network.hpp> | |
BC_USE_LIBBITCOIN_MAIN | |
// Inherit from P2P class. | |
class derived_from_p2p | |
: public bc::network::p2p | |
{ | |
public: | |
typedef std::shared_ptr<derived_from_p2p> ptr; |
#include <bitcoin/bitcoin.hpp> | |
#include <bitcoin/network.hpp> | |
int main() | |
{ | |
// Default network settings. | |
bc::network::settings settings(bc::config::settings::testnet); |
#include <iostream> | |
#include <bitcoin/protocol.hpp> | |
#include <bitcoin/bitcoin.hpp> | |
// g++ -std=c++11 `pkg-config --cflags libbitcoin libbitcoin-protocol --libs libbitcoin libbitcoin-protocol` -o libbitcoin_tx_sub_test libbitcoin_tx_sub_test.cpp | |
int main() { | |
// Setup of zmq context & socket. | |
bc::protocol::zmq::context my_context(true); //started |
#include <iostream> | |
#include <bitcoin/protocol.hpp> | |
#include <bitcoin/bitcoin.hpp> | |
int main () { | |
// Test. | |
bc::protocol::zmq::context my_context(true); //started | |
bc::protocol::zmq::socket my_requester( | |
my_context, |
### Keybase proof | |
I hereby claim: | |
* I am jachiang on github. | |
* I am digi_james (https://keybase.io/digi_james) on keybase. | |
* I have a public key ASCPdb4smr5BX6RkdBOMIv9TL57EKN4bgzvac6P40foQgwo | |
To claim this, I am signing this object: |
# coding: utf-8 | |
# In[81]: | |
#EC Addition Plot | |
import math | |
import numpy as np |
I hereby claim:
To claim this, I am signing this object:
// you need to create and inject a IPFS object | |
const IPFS = require('ipfs') | |
const Y = require('yjs') | |
require('y-ipfs-connector')(Y) | |
// other Yjs deps: | |
require('y-memory')(Y) | |
require('y-array')(Y) | |
require('y-text')(Y) |