TomZ
e8f5a693b3
Import update
2020.05.1
2020-08-12 22:23:16 +02:00
TomZ
4962804d3f
Move common code to its own method
2020-07-28 12:35:27 +02:00
TomZ
998885700b
of all the things to copy/paste
2020-07-28 12:30:28 +02:00
TomZ
ff70c7e4da
Remove obsolete doc
2020-07-27 21:04:46 +02:00
TomZ
5b878aa7cd
Prepare for next release
2020-07-27 20:55:59 +02:00
TomZ
cb3470d72e
Move processing to the main()
2020-07-27 20:54:08 +02:00
TomZ
79bf994962
Fixlets in Search
...
This fixes a type on a method name,
this also fixes unexpected results in some cases when the user did not
implement onFinished()
2020-07-27 20:52:38 +02:00
TomZ
da773ae97e
Add UTXO accessor methods
2020-07-27 20:05:53 +02:00
TomZ
d0df3452cb
Make connecting to one server work better
...
This ensures that we also resolve the promise when only one
of the server-types (hub/indexer) is connected to.
2020-07-27 19:26:05 +02:00
TomZ
be5663ba7e
Start new service, add getLiveTransaction method
2020-07-27 12:41:23 +02:00
TomZ
a529506cd0
Add getBlockHeader getter
2020-07-27 12:00:42 +02:00
TomZ
35c2b9d17a
Add getRawTransaction method
2020-07-27 11:44:26 +02:00
TomZ
4e042ce150
fix misuses of hashToString
2020-07-27 11:43:55 +02:00
TomZ
c579d1da47
small fixes
2020-07-27 11:42:25 +02:00
TomZ
7edbcc6ba3
Enrich addressmonitor callback object
...
Allow for the possibility that more than one watched address matches
the transaction we notify about and therefore make an array.
Additionally, include the block-height property when mined.
2020-07-27 10:53:06 +02:00
TomZ
d695d85ddb
Make much complete the sending of messages
...
This converts more JS values to the proper NetworkManager values
and vice versa for the return message.
Return messages now have the following structure;
{
serviceId: 1,
messageId: 1,
'67': 'main',
'68': 644459,
header: {},
body: [
{ key: '67', value: 'main' },
{ key: '68', value: 644459 },
]
}
The keys in CMF are all intergers, and the 67 and 68 here are examples.
The body is now an array of properties.
For convenience each item is also set on the main return message.
Be aware, though, that for properties that are repeated only the last
one will be present on the return-message.
This commit also implements several blockchain service methods and
adds an example.
Last point is that for byte-arrays (like hashes) we produce a property
like this:
{
key: '70',
value: [Uint8Array],
string: '000000000000000001613440a154e4c35c6467f65dafd70605d5578ec00b0192'
}
Again, as convenience, we add the string version of hashes. This is also
present on the return-message as '70str' next to the '70' bytearray.
2020-07-18 14:42:50 +02:00
TomZ
e3e3eb90d0
Make sendMessage call return the msg to JS
2020-07-17 23:21:06 +02:00
TomZ
fcba07e674
import fixlet from theHub
2020-07-17 23:21:06 +02:00
TomZ
04e4a9cac2
Make an actual C++ message to be sent
...
This takes the JavaScript 'message' object and converts it into
a message that the NetworkManager uses.
2020-07-17 23:21:05 +02:00
TomZ
30108aba48
Combine with native JavaScript lib
...
This starts a native JS lib, taking inspiration for the basics
from the Flowee-JS-pure repo.
Additionally this exposes sending of CMF messages from JS over
the connection already set up in C++.
2020-07-17 23:20:23 +02:00
TomZ
62004df7ce
Prepare a bugfix release
2020-06-20 12:54:45 +02:00
TomZ
67bb8474b3
Add context logs to debug builds
2020-06-19 16:43:53 +02:00
TomZ
69bf16358c
import upstream changes
2020-06-19 16:43:15 +02:00
TomZ
66d96dc8a0
This seems needed for some
2020-06-05 21:45:56 +02:00
TomZ
7820f4fa74
Set a default build-level
...
use 'release-with-debug-info' as the default build-type when nothing
is specified.
Also fix some warnings from a newer CMake
2020-06-05 18:32:52 +02:00
TomZ
d46b62c676
Follow guidelines for license file
2020-05-23 11:15:12 +02:00
TomZ
7ce8bc9c2f
update
2020-05-23 11:14:01 +02:00
TomZ
24adc83b29
JS has an off-by-one in the month
2020-05-23 00:07:22 +02:00
TomZ
bc87f336a1
new release
2020-05-20 12:12:02 +02:00
TomZ
5e82bef884
Actually include the imported data in the git repo.
2020-05-20 12:11:23 +02:00
TomZ
6590d39b3b
List the indexer status
2020-05-20 12:06:21 +02:00
TomZ
4e14aac032
Make cmake required version less strict
...
Tested with 3.7, so set that as the minimum
2019-12-31 13:47:41 +01:00
TomZ
68705f3ad6
update version
2019-12-31 13:45:22 +01:00
TomZ
2df7ee7e52
minor; add missing semicolon
2019-12-30 18:50:11 +01:00
TomZ
d7dc95dac4
Add support for the AddressMonitor service
2019-12-30 18:49:53 +01:00
TomZ
01d9ad69b1
new version
2019-12-27 22:31:37 +01:00
TomZ
eed2884155
example script for sendTransaction
2019-12-27 22:27:46 +01:00
TomZ
9a4e015d96
Fix typo
...
Make the connectHub/connectIndexer methods work again.
2019-12-27 22:25:49 +01:00
TomZ
18037f09f1
Add Flowee.sendTransaction() JavaScript call.
2019-12-27 22:25:49 +01:00
TomZ
321089fa49
new version
2019-12-26 22:07:36 +01:00
TomZ
239764caa9
Make examples take arguments
2019-12-26 22:05:59 +01:00
TomZ
40855e3db3
First try at list-details-about-tx
2019-12-23 15:32:09 +01:00
TomZ
d0152b1c55
fixlet in JS. Time is in seconds
2019-12-23 15:06:39 +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
4acb75ffe5
Fix property-name. It had a trailing space.
2019-12-23 15:02:13 +01:00
TomZ
23f61912f3
Last minute API review; IncludeTxId -> IncludeTxid
2019-12-23 15:01:52 +01:00
TomZ
9cdb09aa75
minor fixlets
2019-12-20 16:34:21 +01:00
TomZ
ebb1b5da99
Make output a bit nicer.
2019-12-19 01:27:12 +01:00
TomZ
d7f27d6cc7
new version number.
2019-12-19 01:26:51 +01:00
TomZ
827b56d6c2
Properly exit with erorr code if error.
2019-12-19 01:26:20 +01:00