-
Notifications
You must be signed in to change notification settings - Fork 284
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
Node http endpoints and handlers #168
Open
wi-ski
wants to merge
29
commits into
handshake-org:master
Choose a base branch
from
wi-ski:node-http-nameinfo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+434
−13
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ed1b563
Implement sendopen http interface for node. Requires updated hs-clien…
wi-ski 8a9fe95
Implement grindname, getproof, and getresource
wi-ski 3fcd483
Use paired hs-client
wi-ski ad782fe
Undo need for update hs-client
wi-ski 1d20d2a
Remaining getInfo calls
wi-ski b9b9396
this correction
wi-ski 0f98759
Update test/node-http-test.js
wi-ski 5db3f58
Update test/node-http-test.js
wi-ski 14a5c31
Surface level test tweaks, next try sleep again
wi-ski dc5e518
Test implementation using sleep attempt
wi-ski 0722801
Kill before each
wi-ski ffb2fc1
Extend timeout?
wi-ski 0fdce37
Extend timeout again.
wi-ski 6baaa6d
Event listening
wi-ski b035103
First pass at mining fewer blocks
wi-ski 721f8fd
Remove sleep
wi-ski 593a151
Mine even fewer blocks
wi-ski 5fd20d5
Bring test timeout back down to reflect time seen in CI
wi-ski bccab33
PR tweaks for Tynes. Use getJSON util method, variable renaming
wi-ski 32d8557
Try CI again
wi-ski c0bec63
Fix missing ref
wi-ski 9050228
Fix for var shadowing
wi-ski 3b8a8a4
Update routes, use more determnistic mining setup, implement and test…
wi-ski 4dbf7f7
Update test descriptions for TYPE_DEADEND
wi-ski 41f5088
Tighten test line spacing up
wi-ski d4015a5
Lint fix
wi-ski 4c6afb4
Return null when DB doesnt know about name
wi-ski 231e30e
Restore empty line
wi-ski 177a78e
Dedup proof response vals, shorten line length
wi-ski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix for var shadowing
commit 9050228f5610747ab3bbcca1b4f5d2072d6f4279
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use a
Set
if you are using an object for membership testing? There is also aBufferSet
in thebuffer-map
library