jMyles
|
cc80a065e0
|
Character.from_public_keys now takes a list of tuples.
|
2018-02-06 17:15:53 -08:00 |
jMyles
|
05f99b10fe
|
Disclaimer for Alice example script (@tuxxy's idea, and *not* really stupid).
|
2018-02-06 17:08:13 -08:00 |
jMyles
|
cc2bbbb422
|
Touchups on Alice one-off example.
|
2018-02-06 17:04:39 -08:00 |
jMyles
|
12f7990a09
|
Alice script properly sends a Contract and then, subsequently, sends a KFrag.
|
2018-02-06 03:08:23 -08:00 |
jMyles
|
8520dda1d6
|
Better message on the "mining" entry point.
|
2018-02-06 03:07:59 -08:00 |
jMyles
|
1ff8d51515
|
Better doctstring for Policy. And something something agreement.
|
2018-02-05 23:40:21 -08:00 |
jMyles
|
2a27661765
|
Test showing that Alice can get an Ursula's public keys via REST and create an Ursula object from them.
|
2018-02-05 23:30:07 -08:00 |
jMyles
|
bdf738aef9
|
Serialization for Contract.
|
2018-02-05 23:30:07 -08:00 |
jMyles
|
e263558218
|
Allow BytestringSplitter to use from_bytes if that method is provided.
|
2018-02-05 23:30:07 -08:00 |
jMyles
|
63d7990aa6
|
Contract Consideration is now a REST activity.
|
2018-02-05 23:30:07 -08:00 |
jMyles
|
de3d9e6c01
|
Create an Ursula from a REST URL. Why not?
|
2018-02-05 23:30:01 -08:00 |
jMyles
|
672f796965
|
Some style tweaks for Character.
|
2018-02-05 23:08:55 -08:00 |
jMyles
|
7237299bf8
|
Shaving down the sample Alice a bit.
|
2018-02-05 23:07:47 -08:00 |
jMyles
|
e3e3feaf8d
|
Adding Maya as dependency.
|
2018-02-05 22:55:30 -08:00 |
jMyles
|
543465b99d
|
Implementing from_public_keys in various places.
|
2018-02-05 11:26:50 -08:00 |
jMyles
|
3db71115f6
|
Characters can now be created from either a signing or encryption key. Fixes #156.
|
2018-02-05 11:25:17 -08:00 |
jMyles
|
b482c7a1be
|
Only tell PowerUps to generate keys if the Character is_me.
|
2018-02-05 11:05:28 -08:00 |
jMyles
|
81c534041f
|
Tracking both REST and DHT info on Ursula.
|
2018-02-04 23:39:40 -08:00 |
jMyles
|
4728acaae9
|
Example script to set Policy for Alice via requests and REST.
|
2018-02-04 23:39:00 -08:00 |
jMyles
|
bdcce0daee
|
First skeleton of mining node entry point for Ursula.
|
2018-02-04 23:38:42 -08:00 |
Justin Holmes
|
1b89a984df
|
Merge pull request #145 from jMyles/policy
Removing PolicyGroup, simplifying Policy. Introducing Contract. Removing ChallengePack.
|
2017-12-19 19:08:54 -08:00 |
jMyles
|
a393d42e8e
|
Removing the rest of PolicyManager; changed PolicyOfferResponse to ContractResponse.
|
2017-12-15 21:50:51 -08:00 |
jMyles
|
83aae67c7b
|
Making Contract details explicit.
|
2017-12-15 21:50:36 -08:00 |
jMyles
|
6819456f43
|
Tearing out remainder of ChallengePack
|
2017-12-15 21:50:09 -08:00 |
jMyles
|
472d2f0a94
|
Way better docstring for Policy.
|
2017-12-15 21:49:45 -08:00 |
jMyles
|
b30638cbf9
|
Doing this all on Ursula now.
|
2017-12-15 21:49:27 -08:00 |
jMyles
|
14071b5b9c
|
Stepping up docstring.
|
2017-12-15 21:49:15 -08:00 |
jMyles
|
cc7483436d
|
Moving these splitters outta here.
|
2017-12-15 21:49:01 -08:00 |
jMyles
|
319b1f17a5
|
Instead of saving the contract in memory, saving a dict with details in preparation for a legit data store. See #127.
|
2017-12-15 21:48:18 -08:00 |
jMyles
|
8e0f9fb203
|
Ursula reconstructing contract from mock saved data.
|
2017-12-15 21:47:52 -08:00 |
jMyles
|
0bb62224ef
|
With PolicyGroup gone, there's no need for these nagging managers.
|
2017-12-15 21:47:02 -08:00 |
jMyles
|
a224487ecf
|
Exception to raise when suspicious activity is detected and there's no other obvious recourse.
|
2017-12-15 21:46:14 -08:00 |
jMyles
|
9e32c72cc1
|
Cleaning up some imports and signatures.
|
2017-12-15 11:13:08 -08:00 |
jMyles
|
032abed046
|
Cleaning up the rest of the tests to use the new models.
|
2017-12-14 21:21:51 -08:00 |
jMyles
|
20bac0393f
|
Tests shifting from Policy to Contract.
|
2017-12-14 21:21:27 -08:00 |
jMyles
|
e486d5a2b1
|
Cleaned up fixtures and reduced their scope to "module."
|
2017-12-14 21:21:09 -08:00 |
jMyles
|
9cf06c58e5
|
New names for things!
|
2017-12-14 21:20:49 -08:00 |
jMyles
|
100e7478b6
|
Some PolicyGroup methods will now live on Policy.
|
2017-12-14 21:20:24 -08:00 |
jMyles
|
3ed0495d3c
|
_accepted_contracts is a more accurate name than _active_contracts, and also opens up some other logic.
|
2017-12-14 21:19:59 -08:00 |
jMyles
|
f0fe1012b9
|
Massive redlining of PolicyGroup.
|
2017-12-14 21:19:23 -08:00 |
jMyles
|
45ffae7ea4
|
This was an hrac all along - it was never meant to be called "pfrag" except as a quick experiment.
|
2017-12-14 21:18:50 -08:00 |
jMyles
|
87d25e4ce3
|
Pushing logic to match KFrags with Contracts down into Policy.
|
2017-12-14 21:18:25 -08:00 |
jMyles
|
7dec865094
|
Updating some fixture names to remove PolicyGroup.
|
2017-12-14 20:36:52 -08:00 |
jMyles
|
d372010e0c
|
Cleaned up assertions to comport with new models.
|
2017-12-14 20:36:35 -08:00 |
jMyles
|
5a96e23d40
|
Logic to find an unassigned kFrag and assign it to a Contract.
|
2017-12-14 20:36:08 -08:00 |
jMyles
|
4cf3d8aac8
|
Much clearer logic for finding Ursulas.
|
2017-12-14 20:35:56 -08:00 |
jMyles
|
5066cd1ad7
|
Instead of taking a single Contract, find_ursulas now makes the number of Contracts needed to offer one to each Ursula.
|
2017-12-14 20:35:22 -08:00 |
jMyles
|
7dd0953fa4
|
Alice can draw up a Contract.
|
2017-12-14 20:35:05 -08:00 |
jMyles
|
d85776d80d
|
Ursula is now on Contract, now Policy.
|
2017-12-14 20:34:47 -08:00 |
jMyles
|
5d70de739d
|
More logic updates from Contract.
|
2017-12-14 20:34:30 -08:00 |