-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'neo-v0.11.0' into v14.x.x
neo-v0.11.0
- Loading branch information
Showing
95 changed files
with
17,415 additions
and
78 deletions.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
FROM sociomantictsunami/dlang:v2 | ||
FROM sociomantictsunami/dlang:v3 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
set -xe | ||
|
||
# Install dependencies | ||
apt-get update | ||
apt-get install -y \ | ||
liblzo2-dev \ | ||
libebtree6-dev \ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### Simple methods to connect to a node or cluster | ||
|
||
`dhtproto.client.mixins.NeoSupport` | ||
|
||
The blocking API now has three additional methods named `connect`. These add | ||
either a single node (specified either by address & port or purely by port) or | ||
a cluster of nodes (specified by a config file) to the registry, and then blocks | ||
the current `Task` until the hash range of all nodes has been fetched. | ||
|
||
These new methods are intended to simplify use of the DHT client in test code | ||
and scripts. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
### New, ultra-minimal client ctor for use in scripts/tests | ||
|
||
`dhtproto.client.DhtClient` | ||
|
||
The existing constructors require an epoll instance and various user-specified | ||
configuration settings. The newly added constructor allows a DHT client to be | ||
instantiated with no configuration whatsoever: | ||
|
||
``` | ||
auto dht = new DhtClient; // uses Task-scheduler's epoll instance | ||
``` | ||
|
||
This greatly reduces the amount of boilerplate required to use a DHT client in | ||
a script or test. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### Neo protocol is now mainstream | ||
|
||
`dhtproto.client.DhtClient` | ||
|
||
The DHT client now has the facility to use the neo protocol. For full | ||
documentation on the DHT neo protocol and requests, see | ||
`dhtproto.client.README.md`. | ||
|
Oops, something went wrong.