Commit Graph

1623 Commits (45bf82b0339172fdbffc5939444f461b741f05e2)

Author SHA1 Message Date
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
jMyles 857a91855a We don't do lookup_actor anymore. 2018-02-24 01:45:50 -08:00
jMyles 5ce725f368 PowerUps no longer need to provide functions themselves; they can indicate that they provide functions from their keypair. 2018-02-24 01:44:36 -08:00
jMyles 87af827a68 Reducing the number of functions called generate_kfrags. 2018-02-24 01:44:14 -08:00
jMyles 0355191288 Character.decrypt() now also uses new power_ups interface. 2018-02-24 01:43:54 -08:00
jMyles 6f870950d1 Don't need sign here anymore. 2018-02-24 01:27:08 -08:00
jMyles 86b8169264 Moving `sign` into `Character`; cleaning up Powers. 2018-02-24 01:22:23 -08:00
jMyles fe993e13b5 Matching error classes to PowerUps. 2018-02-24 01:14:13 -08:00
jMyles 7d7b0023a2 Public way to lookup power_ups for CryptoPower. 2018-02-24 01:13:58 -08:00
jMyles c26f5e6d5b Better way to get public keys. 2018-02-24 01:13:40 -08:00
jMyles 6d38ff2509 privkey is not _privkey. 2018-02-24 00:50:28 -08:00
jMyles 49005ae250 generate_kfrags all the way down. 2018-02-24 00:50:09 -08:00
jMyles 62c8493840 Pushing generate_kfrags downward so as to make private key... private. 2018-02-24 00:49:40 -08:00
jMyles f42576e439 Major simplification of encrypt_for. 2018-02-24 00:48:56 -08:00
jMyles 3a9a8ed752 Don't need to lookup the actor any more. 2018-02-24 00:48:30 -08:00
jMyles 872cef81a2 Smoothing out Powers; redlines through plenty of obselete functionality surrounding path keys in EncryptingPower. 2018-02-23 23:36:40 -08:00
jMyles f89d13c4a0 Seal -=> SignatureStamp 2018-02-23 22:39:10 -08:00
jMyles 760e0a8129 Reflectin refractor of umbral.umbral to umbral.pre. 2018-02-23 22:02:32 -08:00
jMyles 9a5bdb4061 Don't need _contracts anymore. See #127. 2018-02-23 21:47:49 -08:00