Skip to content

Instantly share code, notes, and snippets.

View .vimrc
" .vimrc file (must be named _vimrc)
"pathogen
execute pathogen#infect()
set ts=4 shiftwidth=4 "tab wdith set to 2 or 4
set expandtab
"colorscheme evening
syntax on
@kaykurokawa
kaykurokawa / claimtrienormalize_tests.cpp
Created Sep 26, 2018
Test the normalization function
View claimtrienormalize_tests.cpp
#include "claimtrie.h"
#include "test/test_bitcoin.h"
#include <boost/test/unit_test.hpp>
using namespace std;
BOOST_FIXTURE_TEST_SUITE(claimtrienormalize_tests, RegTestingSetup)
View lbrycrdd_crash_tester.py
import subprocess
import json
from bitcoinrpc.authproxy import AuthServiceProxy
import time
lbrycrd_rpc_user = 'test'
lbrycrd_rpc_pw = 'test'
lbrycrd_rpc_ip = '127.0.0.1'
lbrycrd_rpc_port = '9245'
View restart_crash.py
import subprocess
import json
from bitcoinrpc.authproxy import AuthServiceProxy
import time
# Change this to lbrycrd binary location
LBRYCRD_BIN_LOCATION = 'src/lbrycrdd'
lbrycrd_rpc_user = 'test'
lbrycrd_rpc_pw = 'test'
lbrycrd_rpc_ip = '127.0.0.1'