I hereby claim:
- I am jachiang on github.
- I am james_ch (https://keybase.io/james_ch) on keybase.
- I have a public key ASB4bplfzxQ75C-tqpqdA50d_meXJAUpDal5RGoJ__v3BQo
To claim this, I am signing this object:
Verifying that "james_chiang.id" is my Blockstack ID. https://onename.com/james_chiang |
// 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) |
I hereby claim:
To claim this, I am signing this object:
# coding: utf-8 | |
# In[81]: | |
#EC Addition Plot | |
import math | |
import numpy as np |
### 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: |
#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, |
#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 <bitcoin/bitcoin.hpp> | |
#include <bitcoin/network.hpp> | |
int main() | |
{ | |
// Default network settings. | |
bc::network::settings settings(bc::config::settings::testnet); |
#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; |