Commit Graph

1341 Commits (fccdfc2a1641e266dd0b501862ee61219fab0004)

Author SHA1 Message Date
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
Kieran Prasch 7a4eef3f27 [KMS-ETH]- Removes stale test modules. 2018-02-24 15:48:18 -08:00
Kieran Prasch 9d9078b090 [KMS-ETH]- Updates tests with contract arm and deploy logic. 2018-02-24 12:52:07 -08:00
Kieran Prasch 1bbe6d0f8e [KMS-ETH]- Miner class and methods, imagined as an Ursula mixin class. 2018-02-24 12:51:40 -08:00
Kieran Prasch 56bc161ad1 [KMS-ETH]- Escrow in-memory miner tracking logic. 2018-02-24 12:50:55 -08:00
Kieran R Prasch a68221a87c [KMS-ETH]- Updates example scripts, code reorg. 2018-02-24 12:49:58 -08:00
Kieran R Prasch 7e5300399a [KMS-ETH]- Transaction timeout via token.transact(); Updates example scripts. 2018-02-24 12:49:24 -08:00
Kieran R Prasch 511812d2ed [KMS-ETH]- Fixes ursula selection; modifies wait_time blockchain method and it's test. 2018-02-24 12:48:04 -08:00
Kieran R Prasch 81c3ab00a6 [KMS-ETH]- Type hints, additional methods to cryptoentities, Smart contract testing. 2018-02-24 12:47:13 -08:00
Kieran R Prasch a147bcc39f [KMS-ETH]- Adds wait_time and unlock methods to blockchain, modifies tests to follow. 2018-02-24 12:46:19 -08:00
Kieran R Prasch fc70e9009d [KMS-ETH]- Methods for python crypto-entities, policy contract tests. 2018-02-24 12:45:49 -08:00
Kieran R Prasch b2ce78ecf4 [KMS-ETH]- Blockchain remains open; deprecates context manager usage for blockchain instances. 2018-02-24 12:45:19 -08:00
Kieran R Prasch 32660a6108 [KMS-ETH]- Adds populus project test, additional readability adjustments. 2018-02-24 12:44:55 -08:00
Kieran R Prasch 875814c614 [KMS-ETH]- Fixtures for class based API, unit tests, and smart contract tests from @szotov, code reorg. 2018-02-24 12:44:10 -08:00
Kieran R Prasch 8eb301a598 [KMS-ETH]- Creates Miner class. 2018-02-24 12:38:13 -08:00
Kieran R Prasch 0b9a54b267 [KMS-ETH]- Threadlocal blockchain class to interface with populus and local chains. 2018-02-24 12:37:39 -08:00
Kieran R Prasch 3287d86993 [KMS-ETH]- Ports deps to pipenv: system deps, pipenv, and solc install run from bash installer. 2018-02-24 12:35:48 -08:00
szotov b6c02cfdbb [KMS-ETH]- Added function for miners iteration 2018-02-24 15:45:21 +03:00
jMyles 152ab56417 Touching up generate_kfrags docstrings. 2018-02-24 02:08:22 -08:00
jMyles f9833f7d0d Moved Ursula's REST bits to a new class. 2018-02-24 02:08:17 -08:00
jMyles e1b4f242ab Tearing out all lookup_actor logic. Also, as @tuxxy pointed out a while ago, there's really no reason to have Character.hash(); we can just use keccak_digest. 2018-02-24 01:53:20 -08:00