Commit Graph

2104 Commits (198071e21eb375dc0225798e860b6d8c8bad6603)

Author SHA1 Message Date
jMyles a4664f7688 Updating mock middleware to work with node announcement. 2018-07-18 20:20:20 -07:00
jMyles 417884a791 Some cleanup for make_ursulas. Lots more to do. #347 2018-07-18 20:20:20 -07:00
jMyles 62a98a2b71 Test for Ursula announcing herself on launch. 2018-07-18 20:20:20 -07:00
jMyles 4022d009f5 Passing kwargs through Ursula (for example: to be able to set middleware) 2018-07-18 20:19:54 -07:00
jMyles 747736e461 VerifiableNodes now announce themselves when learning. 2018-07-18 20:19:22 -07:00
jMyles b06d5d62e0 join_policy no longer needs hrac. Also, lots of cleanup. [build] 2018-07-18 20:19:22 -07:00
jMyles 62ca18c3a8 Emitting a warning on bad learning instead of raising an error. 2018-07-18 20:17:15 -07:00
jMyles de303c5244 Introducting TLSHostingPower. Ursula no longer needs to handle the cert or private_key - instead, she just generates a deployer. 2018-07-18 20:17:15 -07:00
jMyles 0d6bd518db Using checksum address in known_nodes and TreasureMaps. 2018-07-18 20:17:15 -07:00
K Prasch aabee29c83
Merge pull request #369 from tuxxy/remove-wheelhouse
Remove Cryptography.io wheelhouse
2018-07-18 15:49:05 -07:00
tuxxy 0a1e62a86e Remove cryptography.io wheelhouse and update Pipfile 2018-07-18 13:42:17 -06:00
K Prasch 18cddabe4a
Merge pull request #352 from szotov/windows
Minor improvements for Windows compatibility
2018-07-18 09:13:07 -07:00
szotov d991ca7ba3 Minor improvements for Windows compatibility 2018-07-17 22:39:12 +03:00
Tux fa98957105
Merge pull request #360 from tuxxy/358-raise-error-fix
Raise InvalidSignature in verify_from
2018-07-17 13:37:21 -06:00
tuxxy 5727898452 Remove from and fix tests 2018-07-16 19:44:46 -06:00
tuxxy e313fb6c15 Check for InvalidSignature in network.server and characters when calling
verify_from
2018-07-16 19:44:44 -06:00
tuxxy 52abfb7e8b Raise InvalidSignature instead of returning is_valid 2018-07-16 19:38:35 -06:00
Tux 380298f449
Merge pull request #359 from jMyles/federated
Uniting Finnegan's Wake demo logic with current master.
2018-07-16 19:37:45 -06:00
Justin Holmes 25ded797fd
Merge pull request #356 from jMyles/policy
New Arrangement ID
2018-07-13 12:28:43 -07:00
jMyles a48fa83857 Curve object for new pyUmbral version. 2018-07-13 12:14:28 -07:00
jMyles a9752fa755 Federated demo up to date with the new stuff. 2018-07-13 12:14:16 -07:00
jMyles cb80379ff1 Bringing tests up to date with new semantics. 2018-07-13 12:12:28 -07:00
jMyles 07eb0fb43c We just rely on the bytes representation of a node now. 2018-07-13 12:11:54 -07:00
jMyles 0ca384c87e This test is irrelevant now that we test the learning loop directly. 2018-07-13 12:10:58 -07:00
jMyles 63135f008c We never split nodes without verification info anymore. 2018-07-13 12:09:41 -07:00
jMyles d43056e931 Wrapping asyncio event loop logic for off-thread case. Awful. We're stuck with this until we get off the DHT. 2018-07-13 12:09:06 -07:00
jMyles c1fd8a69bf Better polish on the signing parts of the node verification logic. 2018-07-13 11:58:56 -07:00
jMyles 2663e73bfb Function had improper case. 2018-07-13 11:51:03 -07:00
jMyles 665595a286 Always get both the hrac and the map_id. No reason to get only one. 2018-07-13 11:36:35 -07:00
jMyles d34191ba56 Follow and peek functions can now either take a map or map id. 2018-07-13 11:32:50 -07:00
jMyles f721d64d09 Finished fetching logic for Arrangements. Fixes #180. 2018-07-13 11:04:52 -07:00
jMyles 2ab472ae41 Using more eager mode for blocking TreasureMap following. 2018-07-13 11:04:52 -07:00
jMyles 80bb058a2b Iterating through a TreasureMap now produces both Arrangement.ID and node ID. Intersection logic changed a bit to reflect that. 2018-07-13 11:04:52 -07:00
jMyles 0e33174b41 Kicking up eagerness for same thread learning. 2018-07-13 11:04:52 -07:00
jMyles 2f8f087202 New Arrangement ID and new TreasureMap for the same. #180 nearly complete; need unpacking logic. 2018-07-13 11:04:52 -07:00
jMyles 74b4a7a743 REST endpoints reflect new Arrangement ID. 2018-07-13 11:04:52 -07:00
jMyles a2f15e8a47 Keystore update for new Arrangement ID. 2018-07-13 11:04:52 -07:00
jMyles 7231b27d55 Wrapping error in a more logical place. 2018-07-13 11:04:52 -07:00
Michael Egorov 9f8f0053b2
Merge pull request #286 from nucypher/coffee
Coffee
2018-07-10 15:03:36 -07:00
K Prasch 53d2104a11
Merge pull request #351 from jMyles/matcha
The stuff to get us off coffee.
2018-07-10 10:21:55 -07:00
Justin Holmes f781c3739d
Merge pull request #348 from jMyles/code-organization
All tests passing.
2018-07-10 10:15:06 -07:00
jMyles 39e6433761 Passing bytes-in / bytes-out instead of eth_keys Signature object. 2018-07-10 10:14:42 -07:00
jMyles 8045bc62ff No reason to always_be_learning any more as a default. Some actors don't need to learn at all. 2018-07-10 10:14:42 -07:00
jMyles a88052c9a2 Separating blockchain Alice from regular ole' Alice. Style touch-ups. 2018-07-10 10:14:42 -07:00
jMyles d8a5a4a110 Verification logic by public address. Fixes #353. 2018-07-10 10:14:42 -07:00
jMyles 13e8c45161 Moved node verification logic to a separate class. 2018-07-10 10:14:42 -07:00
jMyles f59d2ffeba Adding federated flag to both Arrangements. 2018-07-10 10:14:42 -07:00
jMyles 6625731966 Going back to simply returning sampled miners. 2018-07-10 10:14:42 -07:00
jMyles 87a14b85fb Moving SuspiciousActivity up to protocols so that it can be shared with other classes. 2018-07-10 10:14:42 -07:00
jMyles b479103329 Smoothing out init args for Actors. Style fixes. 2018-07-10 10:14:42 -07:00