Jonathan Moody
fa0d03fe95
Rework StatusServer start() to handle lists of addresses, hostnames.
...
Handle and retry EADDRINUSE errors.
2023-01-16 14:05:26 -06:00
Jonathan Moody
14f2f3b55b
Exclude mapped IPv4 addresses. Add resolve_host() code from client.
2023-01-16 14:04:14 -06:00
Jonathan Moody
9c43c811a1
Handle mapped IPv4 address more neatly.
...
(for consistency with client code)
2023-01-11 11:17:43 -06:00
Jonathan Moody
6c037b29b5
Rename "p" -> "proto" for consistency with lbry-sdk.
...
Lint does not like variable named "p".
2022-12-31 12:46:32 -06:00
Jonathan Moody
252a1aa165
Remove override for 'localhost' allowing Hub to start server on IPv6.
2022-12-29 13:16:47 -06:00
Jonathan Moody
f370e263b5
Add IPv6 support to StatusServer and related classes.
2022-12-28 16:56:34 -06:00
dependabot[bot]
75d64f9dc6
Bump protobuf from 3.17.2 to 3.18.3
...
Bumps [protobuf](https://github.com/protocolbuffers/protobuf ) from 3.17.2 to 3.18.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py )
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.17.2...v3.18.3 )
---
updated-dependencies:
- dependency-name: protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-13 00:01:36 -05:00
Jack Robison
929448d64b
collect db values for integrity check in chunks
2022-11-12 23:58:36 -05:00
Jack Robison
134aad29f1
fix issue with supports with wrong names
2022-11-12 23:58:36 -05:00
Jack Robison
dcd4d7a7a8
update docker entrypoint and example composes
2022-11-09 22:06:24 -05:00
Jack Robison
e0c26c0952
update docs
2022-11-09 22:06:24 -05:00
Jack Robison
9fa2d0b6ca
batched update blocked/filtered in ES
2022-11-09 22:06:24 -05:00
Jack Robison
0877e34289
use multi_get to make status hash
2022-11-09 22:06:24 -05:00
Jack Robison
92c3d3840d
fix address history
2022-11-09 22:06:24 -05:00
Jack Robison
98017e9a76
fix uncaught error in es sync
2022-11-09 22:06:24 -05:00
Jack Robison
6932c38854
logging
2022-11-09 22:06:24 -05:00
Jack Robison
ecdb5ef859
logging
2022-11-09 22:06:24 -05:00
Jack Robison
81c44f5f4e
assert
2022-11-09 22:06:24 -05:00
Jack Robison
59c07e315a
fix https://github.com/lbryio/hub/issues/104
2022-11-09 22:06:24 -05:00
Jack Robison
07f8ec41a1
fix including early activated claim amount during takeover due to abandon
2022-11-09 22:06:24 -05:00
Jack Robison
01e52e795a
fix edge case activating claim updates
2022-11-09 22:06:24 -05:00
Jack Robison
98ec0f5e0c
fix supports that activate on the block the claim is abandoned
2022-11-09 22:06:24 -05:00
Jack Robison
eb3d7a183a
fix spending claims and supports on the block they activate
2022-11-09 22:06:24 -05:00
Jack Robison
93aebedd7d
tests
2022-11-09 22:06:24 -05:00
Jack Robison
616daec0d9
dead code
2022-11-09 22:06:24 -05:00
Jack Robison
745462d3ae
migrate 11 to 12
2022-11-09 22:06:24 -05:00
Jack Robison
0634c1e05f
fix handling supports without claims
2022-11-09 22:06:24 -05:00
Jack Robison
b230b693f8
effective amount
2022-11-09 22:06:24 -05:00
Jack Robison
97a0d00bfd
faster active amount as of height
2022-11-09 22:06:24 -05:00
Jack Robison
f2f0f426aa
stash
2022-11-09 22:06:24 -05:00
Jack Robison
7be5905b46
refactor to use batched pending and future effective amounts
2022-11-09 22:06:24 -05:00
Jack Robison
7c9e91f91a
batched _get_pending_effective_amounts
2022-11-09 22:06:24 -05:00
Jack Robison
586e9a613b
logging
2022-11-09 22:06:24 -05:00
Jack Robison
e61efcd00d
future effective amount index
2022-11-09 22:06:24 -05:00
Jack Robison
9311d924f7
improve logging
2022-11-09 22:06:24 -05:00
Jack Robison
8947d3cb19
increase UTXO and HashXUTXO cache sizes
2022-11-09 22:06:24 -05:00
Jack Robison
2150363108
batch spend claims and supports
2022-11-09 22:06:24 -05:00
Jack Robison
6a9a2ad40f
batch spend utxos
2022-11-09 22:06:24 -05:00
Jack Robison
55eb8818ea
add --db_disable_integrity_checks
option to scribe
2022-11-09 22:06:24 -05:00
Jack Robison
a48564e3b2
batched db integrity checks
2022-11-09 22:06:24 -05:00
Jack Robison
606e9bb0d6
support multiple column families in one raw multi_get call
2022-11-09 22:06:24 -05:00
Jack Robison
abc5184e19
add future effective amount index
...
-increase lru cache size for effective amount column famlily to 64mb
2022-11-09 22:06:24 -05:00
Jack Robison
99ddd208db
add Block.decoded_header helper property
2022-11-09 22:06:24 -05:00
Jack Robison
fc234b12e5
handle es_info being an empty file
2022-11-09 22:06:24 -05:00
Jack Robison
04d747ff99
failover support for elastic-sync-notifier and elasticsearch
...
deprecates herald options `elastic_host`, `elastic_port`, `elastic_notifier_host`, and `elastic_notifier_port` in favor of the single new `elastic_services` option
2022-11-09 22:06:24 -05:00
Jack Robison
4586b344ce
move search_index object to HubServerService
2022-11-09 22:06:24 -05:00
Jonathan Moody
9b17822229
Address feedback. Broaden logging to more types of Exception.
2022-09-28 11:04:28 -04:00
Jonathan Moody
0f33f2bfef
Retry on EADDRINUSE.
2022-09-28 11:04:28 -04:00
Jonathan Moody
bc4e3aa7fb
Get addr status after subscribing to fix race.
2022-09-26 11:30:09 -04:00
Jack Robison
e60bb35ebd
fix https://github.com/lbryio/hub/issues/61
2022-09-20 14:13:06 -04:00