Commit Graph

5706 Commits (232a171506b05b37fe88ca4c10e9832ae8d4bb38)

Author SHA1 Message Date
Michael Egorov ff9375f6c6 Optional treasure map in Bob.retrieve 2020-02-08 04:27:34 -08:00
Michael Egorov e2c54e09a7 Make PEP8 happy 2020-02-08 04:27:34 -08:00
jMyles 20d92120ff Simplifying MessageKit splitter with new BSS spice. 2020-02-08 04:27:34 -08:00
jMyles fe840cfd13 Test showing multiple messages from multiple Enricos in a single Adventure. 2020-02-08 04:27:34 -08:00
jMyles d187bbe325 Kwargifiying the splitter for PolicyMessageKit. 2020-02-08 04:27:34 -08:00
jMyles 5a67030054 Making policy_pubkey (awful name) optional for Enrico). 2020-02-08 04:27:34 -08:00
jMyles fdc03954e9 Allow retrieve() to take a policy_encrypting_key on the fly and then reconstruct an Enrico from whole cloth. Not performance optimized, but simple. 2020-02-08 04:27:34 -08:00
jMyles 04a96b54a2 Test showing failure of multiple-Capsule retrieval - see #1359. 2020-02-08 04:27:34 -08:00
jMyles 50e58f44f6 Shortcuts to bring all nodes up or down for testing. 2020-02-08 04:27:34 -08:00
jMyles a7bcdd59c0 Including all Capsules in WorkOrder receipt, instead of only last. See #1359. 2020-02-08 04:27:34 -08:00
jMyles f87eb322f9 Pausing console logging instead of stopping and starting. 2020-02-08 04:27:34 -08:00
jMyles e73e1e5765 Temporarily ceasing console logging right before click invocation. 2020-02-08 04:27:34 -08:00
jMyles bd679888d9 Adding logging around consecutive retrieval test. 2020-02-08 04:27:34 -08:00
jMyles 7a115f65f0 Logging statements around Bob patching. 2020-02-08 04:27:34 -08:00
jMyles 1e33857dd5 Battle of the mocks: another finally block. 2020-02-08 04:27:34 -08:00
jMyles 7ac8374c07 Passing ciphertext(s) as positional. 2020-02-08 04:27:34 -08:00
jMyles 0cdcc523b7 Re-patching LocalContractRegistry.read in a finally block. Fixes #1346. 2020-02-08 04:27:31 -08:00
jMyles ce86d7dd0f capsule_side_channel() doesn't return the Enrico anymore; it's composed. 2020-02-08 01:18:51 -08:00
jMyles bd49d39696 blockchain bob using new retrieve API. 2020-02-08 01:18:51 -08:00
jMyles 067369ed45 Various bugfixes and other accounting for changes since the cherry-picks below. 2020-02-08 01:18:51 -08:00
jMyles 2a19120871 Since we no longer have the possibility to set twice, we can use set_correctness_keys. 2020-02-08 01:18:51 -08:00
jMyles c3ea0377e0 Have Bob retrieve again, just to be absolutely clear that it now works back-to-back by default. 2020-02-08 01:18:51 -08:00
jMyles 6c73075867 I don't like the sound of that. 2020-02-08 01:18:51 -08:00
jMyles 1a34a2a60a New Bob CLI test to show retrieve(). 2020-02-08 01:18:51 -08:00
jMyles b9bc66d2ff This will be our UmbralMessageKit for now. 2020-02-08 01:18:51 -08:00
jMyles 9d2da16809 Setting the delegating correctness key as soon as we know the sender. 2020-02-08 01:18:51 -08:00
jMyles 3de896d9d6 Bob will learn on the main thread during CLI commands until #1234 is fixed. 2020-02-08 01:18:51 -08:00
jMyles 70952329c3 Unpacking message kits into retrieve(). 2020-02-08 01:18:51 -08:00
jMyles 24ab7a6e4f Test showing multiple-Enrico retrieve. 2020-02-08 01:18:51 -08:00
jMyles 89785e7ffd Separating the setting of correctness keys. 2020-02-08 01:18:51 -08:00
jMyles e17cba5d3b Annnnd Enrico is optional for retrieve(). With sanity check. 2020-02-08 01:18:51 -08:00
jMyles dc202da06e Include enrico instance when resetting capsule_side_channel for test convenience. 2020-02-08 01:18:51 -08:00
jMyles 447b9b6e5c We don't need the temporary download_registry fix anymore. 2020-02-08 01:18:51 -08:00
jMyles 4bbcfec01b Starting to separate PolicyMessageKit, which can include sender info. 2020-02-08 01:18:51 -08:00
jMyles 5f0c7ce5ef Several test fixes, most notable including that, in the capsule_side_channel fixture, we now keep the same enrico until it is reset(). 2020-02-08 01:18:51 -08:00
jMyles cf21dd2492 When constructing WorkOrders, Bob no longer cares about correctness keys. 2020-02-08 01:18:51 -08:00
jMyles fe5ddd3e8d Time for retrieve() to accept multiple message_kits! New retrieve logic for handling multiple messages. 2020-02-08 01:18:51 -08:00
jMyles 9d0a47175c Prevent Bob crashing in the event that he has a replete WorkOrder for a Capsule for an Ursula about which he hasn't learned (although obviously he had to have learned about it in a previous runtime or whatever). See #999. 2020-02-08 01:18:50 -08:00
jMyles da2d2a0be1 Showing multiple retrievals in network without retaining CFrags. 2020-02-08 01:18:50 -08:00
jMyles 5f6cdca40d Adding logic to sanitize WorkOrder by removing CFrags from each of its PRETasks. 2020-02-08 01:18:50 -08:00
jMyles 3b9cb9212a Better WorkOrder repr; updating tests to be more precise for replete WorkOrders. 2020-02-08 01:18:50 -08:00
jMyles 9acac0cb0d Saving replete WorkOrders where appropriate. 2020-02-08 01:18:50 -08:00
jMyles c4937b78bf Introducing designation of a WorkOrder that is 'replete' with CFrags for each PRETask. 2020-02-08 01:18:50 -08:00
jMyles 74fa1803ab Fixing up retrieve() params, adding type hints. 2020-02-08 01:18:50 -08:00
jMyles 404446b7ac Removing the 'cache' conceptr from work_orders_for_capsule. 2020-02-08 01:18:50 -08:00
jMyles 305fffdbf6 Single-track for incomplete WorkOrders. 2020-02-08 01:18:50 -08:00
jMyles 1957507a09 Not saving pending WorkOrders anymore; only completed. 2020-02-08 01:18:50 -08:00
jMyles dbf8113fc5 Move things more into a try-finally flow. 2020-02-08 01:18:50 -08:00
jMyles c74f465e8d Always include completed WorkOrders. (Though we'll remove this entirely soon.) 2020-02-08 01:18:50 -08:00
jMyles f507952a14 Starting to separately store WorkOrders on Bob. 2020-02-08 01:18:50 -08:00