Skip to content

Instantly share code, notes, and snippets.

@robby-d
robby-d / bounty-terms.md
Last active January 15, 2024 22:59
counterblock-bounty

Counterwallet/Counterblock improvement bounty

Amount: USD 2000

The goal with this bounty is to be able to get a counterwallet stack running via fednode, launch counterwallet, and have it "just work", similar to how it did in the 2016 or so timeframe before counterblock/counterwallet maintenance was (mostly) stopped. I suspect most things will be pretty straightforward, but since it has been so long between now and then, expect to run into more than a few hairy issues.

Please submit your code updates as pull requests to the relevant repos. I don't need or want a PR for every little thing, but it would be nice if they could be logically grouped (e.g. "update build deps for counterwallet and fix related issues", "fix counterblock reparsing issues", etc). I will review the PRs and merge them in if they look good, or offer comments if something needs to be resolved.

There is no firm time limit for this bounty, but it would be good if done over the next 1-3 months, as your schedule allows.

#!/usr/bin/env python3
import requests, json
import time
rpcPort = 8332
rpcUser = 'rpc'
rpcPassword = 'YOUR PASSWORD HERE'
serverURL = 'http://' + rpcUser + ':' + rpcPassword + '@localhost:' + str(rpcPort)
print ("Timestamp,Milliseconds")
@robby-d
robby-d / test_bitcoind.py
Last active August 29, 2015 14:24
bitcoind searchrawtransactions tester
#!/usr/bin/env python3
import requests, json
import time
rpcPort = 8332
rpcUser = 'rpc'
rpcPassword = 'YOUR PASSWORD HERE'
serverURL = 'http://' + rpcUser + ':' + rpcPassword + '@localhost:' + str(rpcPort)
def call_rpc(method, params):
@robby-d
robby-d / gist:636184412acc270bf2ad
Created February 18, 2015 17:36
Sample counterparty API retry script
import json
import requests
import time
from requests.auth import HTTPBasicAuth
url = "http://localhost:4000/api/"
headers = {'content-type': 'application/json'}
auth = HTTPBasicAuth('rpc', PASSWORD)
payload = {