TomZ
901860e406
Fix more edge-cases where indexer might stop updating.
2019-12-17 17:57:08 +01:00
TomZ
f4d8870001
NWM: tweaks to logs.
2019-12-17 17:36:15 +01:00
TomZ
a4031c4df9
Master is not a release branch.
2019-12-17 16:21:51 +01:00
TomZ
9f2673e18c
Merge branch '2019.10'
2019-12-12 23:20:55 +01:00
TomZ
e890f804d9
Update test with new values
...
This allows manual testing to connect to port 443 and get https protocol
2019-12-12 23:20:30 +01:00
TomZ
5796de30ba
Be smarter about getting new block on connect
2019-12-12 23:19:26 +01:00
TomZ
ebea5aa9a4
Release branch is a release
2019-12-12 20:51:43 +01:00
TomZ
dc6db0de84
exit with error
2019-12-12 18:21:40 +01:00
TomZ
6e8c0b29f7
Also here, report minor ver as hex.
...
Also fix some compiler warnings
2019-12-12 17:48:48 +01:00
TomZ
95646682b3
Use hex for the client minor number.
...
This makes string comparisons much easier (a > 9, while 10 < 9).
2019-12-12 17:34:14 +01:00
TomZ
ae2a985477
Start new client version
2019-12-12 17:17:13 +01:00
TomZ
d7285c29b9
Follow the bugreport from im_uname about this
...
This should make cmake finish for him too.
2019-12-12 17:16:08 +01:00
TomZ
a85a9e1207
Indexer now uses blockCount
...
Instead of asking for a block and reacting when we get a failure, this
just uses the current height instead.
This also makes 'flush' happen in each indexers' own thread, which should
be good for performance.
2019-12-12 16:02:08 +01:00
TomZ
7b5e922658
Flush address DB faster.
...
Ask the hub for the chain-length and when we processed the last block,
immediately flush the data to the SQL DB.
This makes use represent the whole world faster.
2019-12-12 14:49:46 +01:00
TomZ
8c842fa108
Catch exceptions on usage of socket
...
This should fix the issue where the NWM stopped listening due to us not
calling the proper setupCallback()
Also add some logging.
2019-12-11 23:47:21 +01:00
TomZ
ea1ab3c987
Fix interpreting API results.
2019-12-10 17:39:17 +01:00
TomZ
7a360f5a3d
slight logging updates
2019-12-09 15:15:52 +01:00
TomZ
85d5dac081
add is{Hub|Indexer}Connected() methods.
2019-12-09 15:13:37 +01:00
TomZ
ad65d8010b
Fix check for coinbase in search API.
2019-12-09 15:13:37 +01:00
TomZ
0e02f9796d
cleanup
2019-12-09 15:13:37 +01:00
TomZ
78fa7fc627
add new virtuals for floweejs
2019-12-01 23:05:33 +01:00
TomZ
e070acec39
Update checkpoints.
2019-12-01 21:33:18 +01:00
TomZ
1e04e01983
Make big reorgs work better (mostly testnet)
2019-12-01 21:04:43 +01:00
TomZ
d988400be6
fix typo
2019-12-01 21:04:24 +01:00
TomZ
88cb02617a
Merge branch '2019.09'
2019-12-01 15:12:44 +01:00
TomZ
ba7fa7e88a
[QtGui] fix download GB.MB display.
2019-12-01 15:12:31 +01:00
TomZ
63294beed5
Fix deadlock on calling chain::FindFork
2019-12-01 15:11:05 +01:00
TomZ
ac85f525f3
Lower debug level of 'tx validation failed' message.
2019-12-01 14:49:38 +01:00
TomZ
d004e0f5b1
Update UTXO search callback
...
Make the UTXO search callback actually useful for more than tests.
This passes all the data we have and what the user could want to use,
also updating the receiver (bitcore-proxy).
2019-11-30 19:53:12 +01:00
TomZ
f2191ad380
Make UTXO lookup report also the outindex
...
We have that info, it should be send.
2019-11-30 18:56:25 +01:00
TomZ
d658189a73
Move callback
...
Make the callback happen after we get the indexer status.
Additionally, fix the issue where looking up a txid that failed
would end up being recursive due to us copying the initially requested
hash. Causing it to be a duplicate (which then fails etc).
2019-11-29 22:14:51 +01:00
TomZ
152efb2c5d
Print more details on making NWM connection.
2019-11-29 20:09:28 +01:00
TomZ
7d445b445b
Add address indexer index.
2019-11-29 17:56:24 +01:00
TomZ
9e3b145b4e
AddressIndexer: Wait for SQL DB
...
Instead of exiting when no SQL DB is found, sleep for 5 seconds and try
again.
2019-11-29 14:47:36 +01:00
TomZ
b157ffba5f
Update to also list new indexer
2019-11-29 11:07:54 +01:00
TomZ
a471d919eb
Improve logging of not-acceptable connections
...
Log IP of remote that tries to talk to us but doesn't know the protocol.
2019-11-29 10:59:58 +01:00
TomZ
e8c38f6b77
Add api docs
2019-11-28 23:59:32 +01:00
TomZ
42aaf08e6b
Fixlet in comments grammar.
2019-11-25 23:23:00 +01:00
TomZ
c094c8d523
Merge branch '2019.09'
2019-11-22 19:24:13 +01:00
TomZ
abdefac590
Fix handling a tx spending an out-of-range output
...
Those should not be stored in the orphan cache, as the data is just
wrong. Not missing.
So also punish the sender, it won't ever be valid.
2019-11-22 19:23:57 +01:00
TomZ
79437d227e
Avoid forwarding transactions twice.
...
An INV in some cases could lead us to reply with two transactions
instead of one.
2019-11-22 19:14:32 +01:00
TomZ
69ea2ddfcd
Make whitelisted peers not get punished for bad transactions.
2019-11-22 18:58:58 +01:00
TomZ
d86c5a837f
Make orphancache follow coding style-guide.
...
member methods start with a lowercase character.
2019-11-21 20:03:26 +01:00
TomZ
ca1d61dc46
Auto-restart hub inside of the docker container.
...
If the hub dies after running for more than 2 minutes, auto-restart it.
2019-11-21 15:43:52 +01:00
TomZ
c1671c707e
Merge branch '2019.09'
2019-11-15 21:07:25 +01:00
TomZ
0f67b095a1
Fix CLI access inside docker
...
Don't limit RPC-JSON to just localhost, that won't work cross-docker.
2019-11-15 21:02:08 +01:00
TomZ
f24fa2b6ad
Make it easier to connect using cookies.
2019-11-15 20:57:12 +01:00
TomZ
adec1ef3b2
Make rpc-cookie reuse existing cookie files.
...
This allows external software to create it and manage the cookie which
is useful in a cloud setting.
2019-11-15 19:15:22 +01:00
TomZ
f77589b7d3
Whitespace and minor issues.
2019-11-15 18:59:55 +01:00
TomZ
9d77814cc0
cleanups and splits
...
The recent introduction of helper methods on pubkey.h had the
side-effect of pulling in crypto libraries.
This splits the static methods into a separate namespace and file
to avoid such cross-module dependencies.
2019-11-13 19:09:24 +01:00