Jonathan "Duke" Leto
e226896559
Fix contact subcommand which was factored out to a new module
7 years ago
Jonathan "Duke" Leto
74cdcdad6f
Amost close to a hushshield util that does a t->z xtn to fund hushlist
7 years ago
Jonathan "Duke" Leto
0f5ca52753
Make is_valid_zaddr work, still needs work
7 years ago
Jonathan "Duke" Leto
88bd71c074
Refactor find_memos to use Hush::Memo
7 years ago
Jonathan "Duke" Leto
c36850b262
Create Hush::Memo class and refactor find_memos to use z_listreceivedbyaddress which makes things super easier
7 years ago
Jonathan "Duke" Leto
1844c77cb4
Stub out the next steps of our memo-finding algo
7 years ago
Jonathan "Duke" Leto
4c068f0292
Properly validate zaddrs, almost
7 years ago
Jonathan "Duke" Leto
719343d43f
Starting improving hush contacts and finding recent memos for a given Hushlist
7 years ago
Jonathan "Duke" Leto
58ef021695
Migrate some code into Hush::Contact which was lonely
7 years ago
Jonathan "Duke" Leto
94ffb9a938
Put on my diplomat hat >:)
7 years ago
Jonathan "Duke" Leto
285258aa06
We 'show' a hushlist instead of 'log'ging it, which doesnt make any sense
7 years ago
Jonathan "Duke" Leto
687b806bd9
Improve our docs
7 years ago
Jonathan "Duke" Leto
68da246699
Start implementing adding contacts on the command-line
7 years ago
Jonathan "Duke" Leto
b864348a22
env vars for the win
7 years ago
Jonathan "Duke" Leto
a5ab464918
More show() stubage
7 years ago
Jonathan "Duke" Leto
dbfbda14b3
Refactor some common code into functions we will reuse all over the place
7 years ago
Jonathan "Duke" Leto
506dda0f20
more show plumbing
7 years ago
Jonathan "Duke" Leto
a28c9e0922
show stub
7 years ago
Jonathan "Duke" Leto
76bf581621
make nice human descriptions for all top-level hushlist commands
7 years ago
Jonathan "Duke" Leto
87a04e9f84
Improve debug infra and make help() more useful while splitting it off from usage()
7 years ago
Jonathan "Duke" Leto
5eeb88ee8f
Detect when hushlist user does not have enough to cover network fees
7 years ago
Jonathan "Duke" Leto
13db782a7a
fix some rpc code smells
7 years ago
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