tomFlowee
21836f1653
Support fetching fees for a transaction directly
...
Only on a Hub that enabled it, though
2021-03-18 12:32:59 +01:00
tomFlowee
291dedfa30
This adds several features.
...
* message sending now allows arrays.
The underlying engine allows more than the JS allowed, this has been
fixed.
Specifically we now allow something like:
message.body[45] = ["first", "second"];
* A new helper method is exposed to JavaScript: parseAddress()
This method allows one to parse Bitcoin addresses and return the
script-hash used elsewhere.
Notice that the second argument is an optional prefix, allowing for
parsing of testnet addresses.
2021-02-26 19:37:16 +01:00
tomFlowee
7fb2ba0c48
Fix memory usage of pools.
...
This follows a refactor in flowee-libs, we make the reserve amount
mandatory to be called, since its too easy to forget to reserve.
2021-02-18 09:51:31 +01:00
tomFlowee
e81f330ce1
Remove incorrect assert
2021-02-17 15:33:00 +01:00
tomFlowee
7ce891937a
Be more silent by default
2021-02-12 21:38:06 +01:00
tomFlowee
46d7bc4066
Copy by value to avoid memory issues
2021-02-12 14:35:56 +01:00
TomZ
d7dc95dac4
Add support for the AddressMonitor service
2019-12-30 18:49:53 +01:00
TomZ
18037f09f1
Add Flowee.sendTransaction() JavaScript call.
2019-12-27 22:25:49 +01:00
TomZ
c5157b4c66
Integration fixes.
...
* Fix how jobs sometimes gets out of sync.
* Fix cash-address address decoding.
* Fix 'jobs' array being locked when used.
2019-12-23 15:06:25 +01:00
TomZ
95e3390509
Fixlet due to api review.
2019-12-19 01:26:20 +01:00
TomZ
7539772be0
Re-do the connect() family of methods.
...
Working around lots of NodeJS stupidities.
2019-12-09 15:10:27 +01:00
TomZ
189a668f7b
Make nicer for devs
...
this adds some docs, converts hashes and scripts to strings.
2019-12-09 15:09:23 +01:00
TomZ
4a082bf1e9
Make some more examples work.
2019-12-08 19:01:24 +01:00
TomZ
51e1adf740
Make connect return a Promise
...
this allows us to only do stuff when the connections have been made.
2019-12-01 23:03:56 +01:00
TomZ
122672211c
Make most of search work.
2019-11-30 20:07:39 +01:00
TomZ
42516fbf7c
Further populate search
2019-11-29 22:12:08 +01:00
TomZ
8a1f6cbdf9
Make search object actually find stuff
2019-11-29 20:12:16 +01:00
TomZ
1d2fbaee23
Actually hook up the javascript to the Flowee code
...
This discovers the joys of NodeJS' threadsafe-functions
and makes the callbacks work so we can see that we actually
connected to the hub & indexer
2019-11-09 22:31:54 +01:00
TomZ
bd795729c2
Port to the C++ api
2019-11-09 19:10:11 +01:00
TomZ
03ede89c36
Refactor; move code around
2019-11-09 18:18:56 +01:00