Commit Graph

1361 Commits (7890dcc2b2b4d6cc8e9ac1c07cc32de8e06d2464)

Author SHA1 Message Date
jMyles 1b426fa54d Changed Bob's generated_work_orders to OrderedDict. 2018-02-28 17:40:49 -08:00
jMyles 2cd820885c __repr__ that doesn't suck (given that we don't have ursula_id for WorkOrder anymore) 2018-02-28 17:40:49 -08:00
jMyles a0553d8754 Better name for Ursula entry script. 2018-02-28 17:40:49 -08:00
jMyles fdce175e1d Cleaning up db for Ursula non-mining entry point. 2018-02-28 17:40:49 -08:00
jMyles f5e3f978b1 Better Keystore instantiation time, and also no need to manually start servers anymore (as they run on the same thread). 2018-02-28 17:40:49 -08:00
jMyles f4a98bf942 Touching up some tests a bit. 2018-02-28 17:40:49 -08:00
jMyles fa28e75772 Pass Finnegan's Wake as an argument on the command line. 2018-02-28 17:38:10 -08:00
jMyles 7e567c24f6 Introducing named DBs per Ursula. 2018-02-28 17:37:27 -08:00
jMyles cdc39c67eb Keystore uses ThreadedSession context manager (probably needs some touching up). 2018-02-28 17:37:27 -08:00
jMyles 4ea191f3b7 Keystore methods now take a session object (or use the reactor thread-scoped session by default) 2018-02-28 17:37:27 -08:00
jMyles d8d2ccc9dc Model tweak - let's eagerly load the relation. 2018-02-28 17:37:27 -08:00
jMyles 93ada655ce Better launch logic - attach the server exactly once. 2018-02-28 17:37:27 -08:00
jMyles 929ece9d49 Script for Alice to grant access to Bob and then use the policy to re-encrypt a file, line-by-line. 2018-02-28 17:37:27 -08:00
jMyles 554ccd0f31 Ursula running on localhost, with NetworkyStuff to find her. 2018-02-28 17:37:27 -08:00
jMyles 12b234119e We don't run Ursula's datastore in a threadpool anymore. 2018-02-28 17:37:27 -08:00
jMyles 0d952cd024 Using ThreadSession context manager inside KeyStore. Let's see what happens if we move it up a layer. 2018-02-28 17:37:27 -08:00
jMyles 5dcf405c54 Sharpening NetworkyStuff. 2018-02-28 17:37:27 -08:00
jMyles edf8840d5a Faking Ursulas for tests. 2018-02-28 17:37:27 -08:00
jMyles 5cddd96545 Constructing a Policy now requires an actual Ursula (Bob must already know about this Ursula anyway, no reason not to just pass it in). 2018-02-28 17:37:27 -08:00
jMyles d35687907d Just use the keccak_digest function directly - this was never a good change really. 2018-02-28 17:37:27 -08:00
jMyles 0de893110f Not going to do the datastore-in-threadpool thing anymore. 2018-02-28 17:37:27 -08:00
jMyles c9d518beac Marking and expanding some DHT value parsing logic. See #172. 2018-02-28 17:37:27 -08:00
jMyles 14a4bf1634 NetworkyStuff can now engage Ursula's REST endpoints to handle TreasureMaps. 2018-02-28 17:37:27 -08:00
jMyles 0ffdbd0e6e Cleaner to just keep the Ursula attached to the WorkOrder. 2018-02-28 17:37:27 -08:00
jMyles b2d3214162 Of course stamp can be a dict key. 2018-02-28 17:37:27 -08:00
jMyles 63d1e731c9 Ursula's ID is now just her Public Signing Key. 2018-02-28 17:37:26 -08:00
jMyles 990c03b65a Not sure how this ever worked - we need to call the hrac function. 2018-02-28 17:33:58 -08:00
jMyles 1caf764350 Bob was previously learning about some Ursulas more than once; no need for that. 2018-02-28 17:33:58 -08:00
jMyles 6aa0cb46d2 TreasureMaps are now attainble via the REST interface. 2018-02-28 17:33:58 -08:00
jMyles edad1d7148 dict interface for from_public_keys. 2018-02-28 17:33:53 -08:00
jMyles 139e767a2b All Characters need to know about Ursulas (and other information nodes if we ever run them). 2018-02-28 17:33:15 -08:00
jMyles 6fa7bd5823 Ursula's datastore now runs in a separate thread in all cases. 2018-02-28 17:32:19 -08:00
jMyles d5d8677cf3 We don't have policy groups anymore. 2018-02-28 17:32:19 -08:00
jMyles 56b5cae55f Some Bob logic to get off the DHT. 2018-02-28 17:32:19 -08:00
jMyles 82f3a0a949 We don't use NotFound anymore, but we do have more and more situations where Characters need to raise NotEnoughUrsulas. Let's put it on Character. 2018-02-28 17:32:19 -08:00
jMyles 3c00927e65 Moving Ursula's datastore access to a Threadpool. 2018-02-28 17:32:19 -08:00
szotov d8996c37ef [KMS-ETH]- Fixed error with solc v0.4.20 2018-02-28 17:15:04 +03:00
Kieran Prasch a22c4f14b0 [KMS-ETH]- Responds to request for changes: Deprecates threadlocal blockchains, better docstrings and names. 2018-02-27 19:10:53 -08:00
Kieran Prasch 4a71c70b45 [KMS-ETH]- Moves populus config logic to external module and class. 2018-02-27 19:10:10 -08:00
Kieran Prasch bc74ac3f33 [KMS-ETH]- Rollback solidity version. 2018-02-27 19:09:15 -08:00
szotov d611a07690 [KMS-ETH]- Changed payment by ETH in PolicyManager, DHT key was renamed to miner id 2018-02-27 15:50:41 +03:00
Justin Holmes 229e4fa9ed
Merge pull request #171 from jMyles/character-crypto
Lots of good redlines.  Cleaning up Character and Powers.
2018-02-26 22:41:15 -08:00
Kieran Prasch 4365d8f0e3 [KMS-ETH]- Updates Solidity release version number for install script. 2018-02-26 19:17:28 -08:00
Kieran Prasch a1da20d9f3 [KMS-ETH]- Adds get_swarm method to fetch all miners with an iterator via smart contracts calls. 2018-02-26 19:12:24 -08:00
Kieran Prasch 7f58536a2b [KMS-ETH]- Merge commit '43a781c9ba955cd8404efddd3a19302374b0af13' into python_api_dev 2018-02-25 12:01:34 -08:00
Kieran Prasch 110b071ca2 [KMS-ETH]- Miner methods for DHT management and miner/escrow balance. Names some transaction hashes. 2018-02-24 21:50:06 -08:00
Kieran Prasch bc534c6eff [KMS-ETH]- Test coverage for Miner DHT key publication and retrieval 2018-02-24 21:49:45 -08:00
Kieran Prasch a63bea7091 [KMS-ETH]- Update python crypto entity mining coefficients. 2018-02-24 15:58:12 -08:00
Kieran Prasch 3608b27024 [KMS-ETH]- Reintroduce class based python interface, post-rebase. 2018-02-24 15:57:04 -08:00
Kieran Prasch 234bd5e62e [KMS-ETH]- Organize tests into submodules, reintroduce contract tests from @szotov, modify fixtures. 2018-02-24 15:56:06 -08:00