-
v0.20.0rc7 Pre-release
released this
2018-04-19 17:05:42 +02:00 | 5760 commits to master since this release[0.20.0rc7] - 2018-04-19
Fixed
- handling error from dht clients with old
ping
method - blobs not being re-announced if no peers successfully stored, now failed announcements are re-queued
- issue where an
AuthAPIClient
(used bylbrynet-cli
) would fail to update its session secret and keep making new auth sessions, with every other request failing use_auth_http
in a config file being overridden by the default command line argument tolbrynet-daemon
, now the command line value will only override the config file value if it is providedlbrynet-cli
not automatically switching to the authenticated client if the server is detected to be using authentication. This resulted inlbrynet-cli
failing to run whenlbrynet-daemon
was run with the--http-auth
flag
Changed
- several internal dht functions to use inlineCallbacks
DHTHashAnnouncer
andNode
manage functions to useLoopingCall
s instead of scheduling withcallLater
.store
kademlia rpc method to block on the call finishing and to return storing peer information- refactored
DHTHashAnnouncer
to longer use locks, use aDeferredSemaphore
to limit concurrent announcers - decoupled
DiskBlobManager
fromDHTHashAnnouncer
- blob hashes to announce to be controlled by
SQLiteStorage
- kademlia protocol to not delay writes to the UDP socket
reactor
andcallLater
,listenUDP
, andresolve
functions to be configurable (to allow easier testing)- calls to get the current time to use
reactor.seconds
(to control callLater and LoopingCall timing in tests) blob_announce
to queue the blob announcement but not block on it- blob completion to not
callLater
an immediate announce, letSQLiteStorage
and theDHTHashAnnouncer
handle it - raise the default number of concurrent blob announcers to 100
- dht logging to be more verbose with errors and warnings
- added
single_announce
andlast_announced_time
columns to theblob
table in sqlite - pass the sd hash to reflector ClientFactory instead of looking it up
- if the
use_authentication
setting is configured, use authentication for all api methods instead of only those with theauth_required
decorator - regenerate api keys on startup if the using authentication
- support both positional and keyword args for api calls
peer_list
to return a list of dictionaries instead of a list of lists, added peer node ids to the results
Added
- virtual kademlia network and mock udp transport for dht integration tests
- integration tests for bootstrapping the dht
- configurable
concurrent_announcers
setting peer_ping
command
Removed
announce_all
argument fromblob_announce
- old
blob_announce_all
command AuthJSONRPCServer.auth_required
decorator- unused
--wallet
argument tolbrynet-daemon
, which used to be to supportPTCWallet
.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
lbrynet-daemon-v0.20.0rc7-linux.zip
21 downloads · 48 MiB
-
lbrynet-daemon-v0.20.0rc7-macos.zip
21 downloads · 28 MiB
-
lbrynet-daemon-v0.20.0rc7-windows.zip
19 downloads · 52 MiB
- handling error from dht clients with old