Commit Graph

2032 Commits (0cc2f3792f7e03f981c3831b76470d3f262e2d25)

Author SHA1 Message Date
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
Justin Holmes 93039f96d8
Merge pull request #345 from jMyles/restoration
All fast tests pass
2018-07-05 11:58:24 -07:00
jMyles 8f8b28f0d2 Test fixups. 2018-07-05 11:54:45 -07:00
jMyles 2e96c1620a Passing checksum_address where it's needed. 2018-07-05 11:54:45 -07:00
jMyles 40ff5e889d If a node is federated_only, then they can rightly regard other nodes as federated_only. 2018-07-05 11:54:45 -07:00
jMyles f2cfa5ac1f We really only need to fail when settin checksum_address on a federated Character if it's the wrong address. 2018-07-05 11:54:45 -07:00
jMyles a7cfaeccb1 Passing checksum_address into NucypherTokenActor. 2018-07-05 11:54:45 -07:00
Kieran Prasch 162c542df4 Combine and reorganize fixture modules 2018-07-05 11:54:45 -07:00
jMyles 7cf5bbf3f2 Fixed up args and kwargs for Character (although needs some organization). 2018-07-05 11:54:45 -07:00
jMyles bcc159367f Fixing up tests. 2018-07-05 11:54:45 -07:00