Commit Graph

1359 Commits (4e6a0409ce65bf03d67976b83ddea1c06e577f58)

Author SHA1 Message Date
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
jMyles c7d2d97d72 More cleanups throughout Character. 2018-02-23 21:41:54 -08:00
jMyles 78cf0b66de Better docstring and type hint for generate_kfrags. 2018-02-23 21:38:46 -08:00
jMyles 57e3fc4f51 Import fixes and other PEP8 stuff. 2018-02-23 21:37:41 -08:00
szotov ae15b4ac35 [KMS-ETH]- Added DHT key publishing 2018-02-22 17:18:57 +03:00
szotov 9643667c11 [KMS-ETH]- Enhanced Government and Dispatcher contracts, added some tests for Government contract, updated README.MD for proxy 2018-02-21 19:33:21 +03:00
szotov f84a341201 [KMS-ETH]- Tests for government contract 2018-02-20 19:04:58 +03:00
jMyles 1cdc0cad80 Some DHT cleanup. 2018-02-19 15:21:06 -08:00
jMyles bb279fa954 Fixture needs to include (or at least, works better if it includes) Alice's public encryption key. 2018-02-19 15:20:40 -08:00
jMyles 1301f43cda Final narrative test for Bob's Adventure. 2018-02-19 15:20:26 -08:00
jMyles 4716d888ae Narrative test showing Bob getting his second CFrag. 2018-02-19 15:19:43 -08:00
jMyles 90504b4814 Proper exception instead of just an assertion. 2018-02-19 15:19:18 -08:00
jMyles 08f7d0a7c0 Tightened __repr__ with help from @kprasch. 2018-02-19 15:19:04 -08:00
jMyles 3c63ece916 Don't need this method anymore now that we have MessageKit. 2018-02-19 15:18:47 -08:00
jMyles 73306a9094 Save the WorkOrder the first time - the waiting thing wasn't making sense. 2018-02-19 15:18:32 -08:00