New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add lastChange property #43
Conversation
related: webtorrent/bittorrent-dht#20 |
Is it all changes? Where property |
yes - we change it in https://github.com/webtorrent/bittorrent-dht/pull/172/files |
as i mentioned: The implementation / updates for the lastChange property should be done in "userland" as the ping implementation is also handled there. |
if you do this in "userland", why not create |
thank you for your question. to initialise it and set it explicitly to null as a property for k-bucket |
I checked https://github.com/webtorrent/bittorrent-dht/pull/172/files |
yes, thats right. it just makes use of the property which is set to null
with this PR.
…On Mon, Aug 14, 2017 at 9:41 PM, Kirill Fomichev ***@***.***> wrote:
I checked https://github.com/webtorrent/bittorrent-dht/pull/172/files
That PR should work without this changes, right?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#43 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASMttIJ7J2p25OqKP9zHejNfzVRyZqfks5sYKMFgaJpZM4Ou03s>
.
|
Maybe this can be addressed with clarification about what the API is? The So, if we defined the properties on k-bucket something like It seems to me easier to define |
Thank you for the explanation. That makes sense and is really well thought. I agree. Are you happy to merge when I switch over to metadata and document it? |
Yes. (not sure if you get notified if I only use emoji on your post 🙂 ) |
7781733
to
7643bd0
Compare
@tristanls i didn't get a notice from the emoji reaction. thanks for writing a separate message. I changed the PR accordingly. |
Hi! I'm improving bittorrent-dht's handling of node-lists and how it handles unresponsive nodes.
This adds a
lastChange
property.from: http://www.bittorrent.org/beps/bep_0005.html#routing-table
The implementation / updates for the
lastChange
property should be done in "userland" as ping implementation is also handled there.