Commit Graph

1891 Commits (fa9895710510a873e8ec7d07f2a56af617cc6f42)

Author SHA1 Message Date
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
jMyles 7c46c690b5 Ticking cache version for CircleCI. 2018-07-10 10:14:42 -07:00
jMyles 9044ad8474 Making build_dependencies use verbose output for pipenv. 2018-07-10 10:14:42 -07:00
jMyles eddcf0f5f0 Test for stamp evidence. 2018-07-10 10:14:42 -07:00
jMyles d7c7e06a18 Ursula now substantiates her stamp. This is the first half of #294. 2018-07-10 10:14:42 -07:00
jMyles a1ca7d43c1 Using plain signature (instead of hex-casted) in BlockchainPower. 2018-07-10 10:14:42 -07:00
jMyles 695e6dc2dc unlock_account on blockchain, to account for the apparent reality that testerchain accounts are always unlocked. 2018-07-10 10:14:42 -07:00
jMyles 3d412cd21f Quieter mypy options. See #350. 2018-07-10 10:14:42 -07:00
jMyles 72d0c8e978 Commenting out MyPy check for the moment. See #350. 2018-07-10 10:14:42 -07:00
jMyles 52721c77de Character tests generate coverage for entire package. 2018-07-10 10:14:04 -07:00
jMyles 8ef6cb8b82 Adding pytest-twisted to dev reqs. 2018-07-10 10:14:04 -07:00
Justin Holmes 5d7894eec5
Merge pull request #333 from szotov/user-escrow
Upgradeable user escrow
2018-07-10 10:12:52 -07:00
szotov ff71b58029 Finished the upgradeable UserEscrow contract, contracts mocks are combined into test sets 2018-07-06 21:17:02 +03:00
szotov 9f7c662ea4 Draft of an upgradeable user escrow 2018-07-06 21:17:02 +03:00