Jonathan "Duke" Leto
c8300b83ea
define HUSH_DEBUG to get more info
7 years ago
Jonathan "Duke" Leto
a1188a712e
add Hush.pm pod
7 years ago
Jonathan "Duke" Leto
7904cd2afe
give readme more beef
7 years ago
Jonathan "Duke" Leto
972319e471
this is better
7 years ago
Jonathan "Duke" Leto
dee5c3fc17
Get z_sendmany to actually execute!
We hit this error because we had no ZEC in a zaddr, as expected:
2017-11-21 05:31:34 opid-56f62a29-b5a6-4c8c-8c09-4484b8909662:
z_sendmany finished (status=failed, error=Insufficient funds, no unspent
notes found for zaddr from address.)
It seems that there may be a bug in sending arrays of one element and
how the get JSONified by Bitcoin::JSON::Client, not sure.
7 years ago
Jonathan "Duke" Leto
a53951dfd2
this gives us a opid from z_sendmany
7 years ago
Jonathan "Duke" Leto
af9fff012f
add threat model doc
7 years ago
Jonathan "Duke" Leto
4f64826f2c
still WIP
7 years ago
Jonathan "Duke" Leto
2b5900595b
Make our error message about RPC being down as useful as possilbe
7 years ago
Jonathan "Duke" Leto
bdf5a1f045
Better error message when RPC server is down
7 years ago
Jonathan "Duke" Leto
c495095d26
hexify memo
7 years ago
Jonathan "Duke" Leto
34af562cef
Get closer to making z_sendmany happy and give the correct JSON structure that it wants, an array and not a hash; memo field is complaining that it wants to be hex when it grows up
7 years ago
Jonathan "Duke" Leto
068e16b6ab
fix test
7 years ago
Jonathan "Duke" Leto
b81187d280
Give the readme some love
7 years ago
Jonathan "Duke" Leto
8932aac17a
The kingdom was lost for the want of an each
7 years ago
Jonathan "Duke" Leto
b0884a5255
Getting closer to z_sendmany working, but in an infinite loop, lol
7 years ago
Jonathan "Duke" Leto
0bf52a9cbf
Fight with z_sendmany some more
7 years ago
Jonathan "Duke" Leto
ee270fbb32
we don't need this
7 years ago
Jonathan "Duke" Leto
0b87a3b8bb
Fucking JSON
7 years ago
Jonathan "Duke" Leto
b7b8316790
better logging when z_sendmany fails
7 years ago
Jonathan "Duke" Leto
cacb07b19d
more debugging, actually running z_sendmany: error message: JSON value is not a string as expected (z_sendmany)
7 years ago
Jonathan "Duke" Leto
638b2a8a11
ignore some guardrails that are getting in the way for now
7 years ago
Jonathan "Duke" Leto
9906fe4cf5
start spamming the filesystem with log lines into a file called debug.log, in the long tradition of Satoshi and shitcoiners
7 years ago
Jonathan "Duke" Leto
19f9e7029f
loggin' like a lumberjack
7 years ago
Jonathan "Duke" Leto
1dfdd487fe
Start to correctly build up the datastructures that z_sendmany wants to eat
7 years ago
Jonathan "Duke" Leto
b114439402
Start getting serious about z_sendmany
7 years ago
Jonathan "Duke" Leto
dc8f8a25fe
add some nice readme docs
7 years ago
Jonathan "Duke" Leto
32d4169339
hushlists have a default chain, which can be changed at run-time to send to contact addresses on other chains
7 years ago
Jonathan "Duke" Leto
e14cce022b
improve status
7 years ago
Jonathan "Duke" Leto
07d3643500
54 yo
7 years ago
Jonathan "Duke" Leto
ba16aa4d83
Lots of stuff
7 years ago
Jonathan "Duke" Leto
65815c4c5a
create an empty members.txt for now, to keep things easy
7 years ago
Jonathan "Duke" Leto
2099be2006
Correctly die if we cannot talk to rpc server
7 years ago
Jonathan "Duke" Leto
5ec9ce65e1
do not create an empty config file when rpc is down or we have the wrong user/pass
7 years ago
Jonathan "Duke" Leto
614b80a069
create new zaddr/taddr when creating a new config file
7 years ago
Jonathan "Duke" Leto
3fb09e30c5
allow custom port so we can use testnet
7 years ago
Jonathan "Duke" Leto
8ac99853c1
grab taddr and zaddr balances and show them on startup
7 years ago
Jonathan "Duke" Leto
32a7e8474f
better testing leads to better code
7 years ago
Jonathan "Duke" Leto
b4ee29935d
Various things
7 years ago
Jonathan "Duke" Leto
5bbbb6e331
Create a .hush/list/contacts/ directory for storying user-specified contacts
7 years ago
Jonathan "Duke" Leto
e2cac3e27b
Start adding hust contacts and list-specific config files, since that seems forward-thinking TM
7 years ago
Jonathan "Duke" Leto
3f2c441710
Decide on how to store list data on local FS
7 years ago
Jonathan "Duke" Leto
9224df9d0b
Generate a default config file, when .hush/list does not exit, or when .hush/list/list.conf does not exist
7 years ago
Jonathan "Duke" Leto
b34dd0d3fc
Do not give up so easy; this commit successfully creates ~/.hush/list/list.conf
7 years ago
Jonathan "Duke" Leto
f301cbd406
Start adding script which uses Hush libs
7 years ago
Jonathan "Duke" Leto
5927d3940c
More error checking
7 years ago
Jonathan "Duke" Leto
11c2a8a300
Pass options to RPC, so we can tell it to use testnet
7 years ago
Jonathan "Duke" Leto
18f76ee8ee
Hashes make various common operations O(1); add methods for adding+removing zaddrs from HushLists
7 years ago
Jonathan "Duke" Leto
f73ad32d5b
Starting checking for config dirs
7 years ago
Jonathan "Duke" Leto
fc2ca015c6
Start making some stuff
7 years ago