Commit Graph

2608 Commits (72c2b472225b5a0d7c952c84ac0bee871d97baf3)

Author SHA1 Message Date
tuxxy 18f58361af Return 400 status code when an arrangement isn't signed 2018-09-28 17:37:58 -06:00
Tux 1fe6fbc2ef
Merge pull request #435 from nucypher/kokonusswasser
Kokonusswasser
2018-09-28 17:32:34 -06:00
Kieran Prasch 1dc519989a Fixed ImportError 2018-09-28 14:51:03 -07:00
K Prasch 8e61f19c55
Merge pull request #436 from tuxxy/ursula-timestamp
Add timestamp on Ursula
2018-09-28 12:20:41 -07:00
tuxxy bd3f19c7e7 Add test for Ursula serialization 2018-09-28 12:47:12 -06:00
tuxxy f2f8a8bece Add timestamp to Ursula for serialization
Add timestamp to deserialized vars in verify_node
Add timestamp when deserializing from batch
2018-09-28 12:47:12 -06:00
K Prasch e6721bdbdb
Merge pull request #453 from KPrasch/optimze-imports
Optimize Imports Project-Wide
2018-09-28 10:21:08 -07:00
K Prasch a5d67451df
Merge pull request #452 from KPrasch/touch-ups
Cleanup and Touch ups
2018-09-28 10:20:43 -07:00
K Prasch b700ae9812
Merge pull request #447 from KPrasch/federated_node
Running federated node via CLI
2018-09-27 16:26:42 -07:00
Kieran Prasch 542a1422e1 Update decentralized simulation to latest API, automates simulation setup 2018-09-26 14:35:08 -07:00
Kieran Prasch e60706793a Optimize imports project-wide 2018-09-25 20:27:27 -07:00
Kieran Prasch f8aa879ac1 touch-up character function signitures; touch-up blockchain test assertion errors 2018-09-25 20:26:49 -07:00
Kieran Prasch da86c874fc Move chain-backend signing methds to BlockchainInterface 2018-09-25 20:26:49 -07:00
Kieran Prasch 6d2f9f9abb Remove arming network checks 2018-09-25 20:26:49 -07:00
Kieran Prasch 370f8804e5 Add Blockchain.connect with a provider URI string passed to BlockchainInterface 2018-09-25 20:26:49 -07:00
Kieran Prasch 60180f8b2b Cleanup blockchain policy function signatures 2018-09-25 20:26:49 -07:00
Kieran Prasch dadb49c4ce Cleanup blockchain defaults and constants integration 2018-09-25 20:26:49 -07:00
Kieran Prasch 7e04dd117b Use static blockchain constants, removes ConstantSorrow usage for static values 2018-09-25 20:26:44 -07:00
Kieran Prasch 76b87da09a Pin version of apistar; post update 2018-09-25 11:10:02 -07:00
Kieran Prasch d84014a35f Cast constant_sorrow constant to int 2018-09-25 10:15:01 -07:00
Kieran Prasch 67df78fcbc Quiet down ursula init logger 2018-09-25 09:51:00 -07:00
Kieran Prasch ef31fb944c Resolve CI ImportErrors 2018-09-25 09:47:42 -07:00
Kieran Prasch d6fc416a79 remove extra time travel (moved to ursula fixture) 2018-09-25 09:28:48 -07:00
Kieran Prasch 17d35a23ed cleanup stale consider_arrangement certificate filepaths 2018-09-24 18:43:01 -07:00
Kieran Prasch 4b7fcd318e split Alice.grant test by operating mode; Cleanup BlockchainPolicy in preperation for futher integration. 2018-09-24 18:43:01 -07:00
Kieran Prasch 540e25ac57 Fix circleCI stale filepath for eth-contracts build. 2018-09-24 18:43:01 -07:00
Kieran Prasch 922eb9ab5a Pass-through caught MinerAgent.sample's exception message when Alice recruits Ursulas from the blockchain 2018-09-24 18:43:01 -07:00
Kieran Prasch d02a8bc0bf split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere 2018-09-24 18:43:01 -07:00
Kieran Prasch c3923e2537 Push from_config up one level into character 2018-09-24 18:43:01 -07:00
Kieran Prasch 293f9c158c Deprecate CLI demo module; Respond to RFC & cleanup 2018-09-24 18:42:42 -07:00
Tux 27fc4d4d50
Merge pull request #446 from jMyles/character-crypto
Cleaned up cert handling; demo runs again.
2018-09-24 13:52:22 -06:00
Kieran Prasch d615587e64 Once again, allow mypy failures.. for now 2018-09-22 21:24:35 -07:00
Kieran Prasch 9b04aee6d0 Update tests with updates to configuration and missleware 2018-09-22 21:05:11 -07:00
Kieran Prasch 6b0d7c956c Collapse Configuration classes, adjust middleware certificate validation 2018-09-22 21:04:40 -07:00
Kieran Prasch 5e10e48f54 Resolve discrepancy with NotEnoughNodes exceptions; preserve discription of multi inheretance 2018-09-22 21:03:09 -07:00
Kieran Prasch 51a3d0b1c4 Use configuration in simulate demno 2018-09-22 21:01:31 -07:00
Kieran Prasch 4c898453d7 Use strager certificate to consider arrangement 2018-09-22 16:54:41 -07:00
K Prasch 53e1624ced
Merge pull request #444 from KPrasch/tidy-types
A bucket of type hints and bug fixes
2018-09-22 15:50:09 -07:00
K Prasch af249f91b4
Merge pull request #442 from KPrasch/cli-revamp
--dev flag for `run_ursula`
2018-09-22 15:49:44 -07:00
Kieran Prasch 239305081f Let the CLI lean on configuration defaults; slim down run_ursula to the essentials, pushing preinit logic into UrsulaConfiguration.produce 2018-09-22 15:45:51 -07:00
Kieran Prasch aaba33290d Update tests to new learner names, help with cleanup a little. 2018-09-22 15:44:37 -07:00
Kieran Prasch 13764517ac Reflect character initialization logic in NodeConfiguration subclasses; Integrate with local filesystem paths in dev and non-dev modes. 2018-09-22 15:43:35 -07:00
Kieran Prasch f7b99df465 Allow HostingKeypair to handle certi generation without a configuration filepath 2018-09-22 15:41:40 -07:00
Kieran Prasch d1daf8767c Push node metadata writing logic up in Learner; Integrate with VerifiableNode certificate deterministic certificate filename generation via common name 2018-09-22 15:39:53 -07:00
Kieran Prasch b255416b1b localize certificate references on VerifiableNode 2018-09-22 15:37:42 -07:00
Kieran Prasch 9061da4fdf Update templae configuration file 2018-09-22 15:34:54 -07:00
jMyles a09c3d8858 Reintroducing demo entry modules. 2018-09-21 21:52:57 +02:00
jMyles 7ed24bd333 Methods directly on VerifiableNode for cert handling. 2018-09-21 21:48:30 +02:00
jMyles 7f45bd020a Fixing up other cert-saving places, making middleware use existing certs and simple reference to rest interface. 2018-09-21 21:48:10 +02:00
jMyles dbe59d79e5 Removing other places whree saving logic existed; adding it to ProxyRESTRoutes so that 'anounced' nodes can be saved. 2018-09-21 21:44:19 +02:00