Greg Fitzgerald
13206e4976
Let clients subscribe to the ledger over TCP
...
TODO: Add more tests
Fixes #27
2018-03-27 14:46:24 -06:00
Greg Fitzgerald
ddb21d151d
Nightly rustfmt
...
Format code with the nightly version of rustfmt, which sorts imports.
2018-03-26 22:03:28 -06:00
Greg Fitzgerald
c64a9fb456
Give Travis a little more time to start threads
2018-03-26 22:02:05 -06:00
Greg Fitzgerald
ee19b4f86e
See if CI hangs because of wait_on_signature()
2018-03-26 21:53:30 -06:00
Anatoly Yakovenko
14239e584f
fix writer
2018-03-26 21:36:29 -06:00
Anatoly Yakovenko
c1783d77d7
fixed test
2018-03-25 16:18:27 -07:00
Anatoly Yakovenko
f089abb3c5
fix bench
2018-03-25 15:37:00 -07:00
Anatoly Yakovenko
8e551f5e32
debug trait tests
2018-03-25 08:22:04 -07:00
Anatoly Yakovenko
290960c3b5
wip
2018-03-25 08:06:33 -07:00
Anatoly Yakovenko
62af09adbe
wip
2018-03-25 08:05:03 -07:00
Anatoly Yakovenko
e39c0b34e5
update
2018-03-25 00:06:48 -07:00
Anatoly Yakovenko
8ad90807ee
responder with larger block size
2018-03-24 23:46:25 -07:00
Anatoly Yakovenko
533b3170a7
responder
2018-03-24 23:31:54 -07:00
Anatoly Yakovenko
7732f3f5fb
services
2018-03-24 18:01:54 -07:00
Anatoly Yakovenko
f52f02a434
services
2018-03-24 18:01:40 -07:00
Greg Fitzgerald
9a437f0d38
Revive silk-testnode
2018-03-23 21:49:28 -06:00
Greg Fitzgerald
fa44be2a9d
Ignore some clippy advice
2018-03-22 14:59:25 -06:00
Greg Fitzgerald
117ab0c141
Clippy review
2018-03-22 14:50:24 -06:00
Greg Fitzgerald
7488d19ae6
Clippy review
2018-03-22 14:40:28 -06:00
Greg Fitzgerald
60524ad5f2
Clippy review
2018-03-22 14:38:06 -06:00
Greg Fitzgerald
fad7ff8bf0
Clippy review
2018-03-22 14:31:58 -06:00
Greg Fitzgerald
383d445ba1
Clippy review
2018-03-22 14:15:29 -06:00
Greg Fitzgerald
803dcb0800
Mutex<bool> -> AtomicBool
2018-03-22 14:05:23 -06:00
Greg Fitzgerald
8ea97141ea
Update the test to replicate the ledger
2018-03-21 17:15:32 -06:00
Greg Fitzgerald
9f232bac58
Allow clients to sync the ledger
...
Fixes #4
2018-03-21 15:46:49 -06:00
Greg Fitzgerald
8295cc11c0
Move JSON printing up the stack
2018-03-20 23:15:44 -06:00
Greg Fitzgerald
9a7cac1e07
Use the Entry API to remove the double lookup
2018-03-20 18:07:54 -06:00
Greg Fitzgerald
c584a25ec9
Move complete_transaction from method to function
...
So that we can hold separate mutable references to the pending queue
and the map of balances.
2018-03-20 17:47:57 -06:00
Greg Fitzgerald
bff32bf7bc
Cleanup
2018-03-20 17:32:02 -06:00
Greg Fitzgerald
d0e7450389
Add docs
2018-03-20 16:58:14 -06:00
Greg Fitzgerald
4da89ac8a9
Cleanup naming
2018-03-20 16:53:41 -06:00
Greg Fitzgerald
f7032f7d9a
Cleanup: replace bool retval with is_complete() method
2018-03-20 16:52:47 -06:00
Greg Fitzgerald
7c7e3931a0
Better docs
2018-03-20 15:52:46 -06:00
Greg Fitzgerald
6be3d62d89
Remove Action from spending plans
2018-03-20 15:43:07 -06:00
Greg Fitzgerald
6f509a8a1e
Reorder
2018-03-20 15:31:28 -06:00
Greg Fitzgerald
4379fabf16
PlanEvent -> Witness
...
The term used by the Simplicity smart contract language
2018-03-20 15:25:50 -06:00
Greg Fitzgerald
c11a3e0fdc
Move streamer benchmark out of unit tests
2018-03-19 17:10:01 -06:00
Greg Fitzgerald
8ee76bcea0
Fix benchmark build
2018-03-19 16:41:01 -06:00
Greg Fitzgerald
9238ee9572
No longer rename log crate
2018-03-19 10:18:51 -06:00
Greg Fitzgerald
64af37e0cd
logger -> recorder
...
Free up namespace for a traditional runtime logger.
2018-03-19 10:16:21 -06:00
Greg Fitzgerald
9f9b79f30b
log -> ledger
...
Free up namespace for traditional runtime logs.
2018-03-19 10:09:19 -06:00
Greg Fitzgerald
265f41887f
asset -> tokens
2018-03-19 10:03:41 -06:00
Greg Fitzgerald
434f321336
Add spending plan tests
2018-03-18 21:02:28 -06:00
Greg Fitzgerald
f4e0d1be58
Make conditions explicit in races
...
And boot recursive spending plans. That path required heap allocations.
Since we don't have a need for this generality right now, reduce the
language to the smallest one that can pass our test suite.
2018-03-17 20:43:05 -06:00
Greg Fitzgerald
e5bae0604b
Specialize transaction assets to i64
...
Proof-of-history is generic, but now that we're using it entirely
for tokens, we can specialize the type and start doing more interesting
things than just Eq and Serialize operations.
2018-03-17 19:56:15 -06:00
Greg Fitzgerald
e7da083c31
Move spending plans to their own crate
2018-03-17 19:56:15 -06:00
Greg Fitzgerald
367c32dabe
Guard spending plans, not just payments
2018-03-17 19:56:15 -06:00
Anatoly Yakovenko
e8faf6d59a
trait test
2018-03-14 11:28:05 -07:00
Anatoly Yakovenko
baa4ea3cd8
wfmt
2018-03-14 11:14:40 -07:00
Anatoly Yakovenko
75ef0f0329
fix test
2018-03-14 11:02:38 -07:00