Commit Graph

22004 Commits

Author SHA1 Message Date
Anatoly Yakovenko 753eaa8266 buildkite script 2018-04-24 11:32:00 -07:00
anatoly yakovenko 0b39c6f98e
Merge pull request #145 from aeyakovenko/crdt
initial crdt implementation
2018-04-24 10:49:23 -07:00
Anatoly Yakovenko 55b8d0db4d cleanup 2018-04-23 23:33:21 -07:00
Anatoly Yakovenko 3d7969d8a2 initial crdt implementation 2018-04-23 23:06:28 -07:00
Greg Fitzgerald 041de8082a
Merge pull request #144 from rleungx/improve-error-messages
improve the error messages
2018-04-21 08:17:25 -06:00
rleungx 3da1fa4d88 improve the error messages 2018-04-21 21:52:55 +08:00
Greg Fitzgerald 39df21de30
Merge pull request #142 from ansrivas/master
git clone instruction
2018-04-20 16:05:21 -06:00
Ankur Srivastava 8cbb7d7362 git clone instruction 2018-04-20 23:02:10 +02:00
Greg Fitzgerald 10a0c47210
Merge pull request #137 from garious/linux-hang
Workaround linux hang
2018-04-19 11:46:48 -06:00
Greg Fitzgerald 89bf3765f3
Merge pull request #138 from sakridge/help_options
Add -h/--help options for client-demo and testnode
2018-04-19 11:40:07 -06:00
Stephen Akridge 8181bc591b Add -h/--help options for client-demo and testnode 2018-04-19 10:22:31 -07:00
Greg Fitzgerald ca877e689c
Merge pull request #136 from rleungx/report-errors-to-stderr
report serde parse errors to stderr
2018-04-19 11:15:57 -06:00
Greg Fitzgerald c6048e2bab Workaround linux hang
Without this patch, Linux systems would hang when running the demo.

The root cause (why Linux is acting differently than macOS) was
not determined, but we know the problem is caused by a known
issue in the transaction pipeline - that entries are not pulled
off the historian channel until after the full transaction batch
is processed. This patch makes the sync_channel large enough that
it should never block on a gigabit network.
2018-04-19 10:04:32 -07:00
rleungx 60015aee04 report serde parse errors to stderr 2018-04-19 23:51:57 +08:00
Greg Fitzgerald 43e6741071
Merge pull request #134 from rleungx/report-parse-errors-to-stderr
report parse errors to stderr
2018-04-19 08:38:38 -06:00
rleungx b91f6bcbff report parse errors to stderr 2018-04-19 22:24:46 +08:00
Greg Fitzgerald 64e2f1b949
Merge pull request #133 from djKooks/rm-mut
Remove out for immutable variable
2018-04-19 08:24:32 -06:00
kwangin 13a2f05776 Remove out for immutable variable 2018-04-19 23:00:16 +09:00
Greg Fitzgerald 903374ae9b
Merge pull request #132 from aeyakovenko/readme
readme and site update
2018-04-18 21:49:09 -06:00
Anatoly Yakovenko d366a07403 add gregs abstract as an intro 2018-04-18 20:17:37 -07:00
Greg Fitzgerald e94921174a
Merge pull request #131 from sakridge/erasure
Add erasure rust logic under feature flag
2018-04-18 21:10:06 -06:00
Stephen Akridge dea5ab2f79 Add erasure rust logic under feature flag 2018-04-18 19:42:09 -07:00
Greg Fitzgerald 5e11078f34
Add Stephen 2018-04-18 17:22:58 -06:00
Greg Fitzgerald d7670cd4ff
Merge pull request #129 from aeyakovenko/retransmit
Retransmit
2018-04-18 11:10:50 -04:00
Anatoly Yakovenko 29f3230089 docs 2018-04-17 19:53:18 -07:00
Anatoly Yakovenko d003efb522 fix docs 2018-04-17 19:52:46 -07:00
Anatoly Yakovenko 97e772e87a docs 2018-04-17 19:46:50 -07:00
Anatoly Yakovenko 0b33615979 udpate 2018-04-17 12:48:06 -07:00
Anatoly Yakovenko 249cead13e docs 2018-04-17 11:07:43 -07:00
Anatoly Yakovenko 7c96dea359 fmt 2018-04-17 11:05:35 -07:00
Anatoly Yakovenko 374c9921fd comments 2018-04-17 11:05:15 -07:00
Anatoly Yakovenko fb55ab8c33 format 2018-04-16 21:02:37 -07:00
Anatoly Yakovenko 13485074ac test cast 2018-04-16 20:57:15 -07:00
Anatoly Yakovenko 4944c965e4 update
heap

update

update

wip

use a vec and sort

builds

update

tests

update

fmt

update

progress

fmt

passes needs retransmit test

tests

cleanup

update

update

update

update

fmt
2018-04-16 20:33:09 -07:00
Greg Fitzgerald 83c5b3bc38
Merge pull request #125 from garious/fix-parallelized-ledger
Tell verifiers when not to parallelize accounting
2018-04-13 08:43:36 -06:00
Greg Fitzgerald 7fc42de758 Fix bench 2018-04-13 00:36:23 -04:00
Greg Fitzgerald 0a30bd74c1 Tell verifiers when not to parallelize accounting
Without this patch, many batches of transactions could be tossed
into a single entry, but the parallelized accountant can only
guarentee the transactions in the batch can be processed in
parallel.

This patch signals the historian to generate a new Entry after
each batch. Validators must maintain sequential consistency
across Entries.
2018-04-12 21:08:53 -06:00
Greg Fitzgerald 9b12a79c8d cargo +nightly fmt 2018-04-12 17:04:11 -06:00
Greg Fitzgerald 0dcde23b05
Merge pull request #119 from sakridge/skel_verify_test
Add skel test which sends a bad transaction, verify it doesn't make it
2018-04-12 17:02:08 -06:00
Stephen Akridge 8dc15b88eb Add skel test which sends a bad transaction, verify it doesn't make it 2018-04-12 15:01:59 -07:00
anatoly yakovenko d20c952f92
Merge pull request #121 from aeyakovenko/helpers
requests to packets utility function
2018-04-12 12:58:30 -07:00
Anatoly Yakovenko c2eeeb27fd bump timer 2018-04-12 11:12:10 -07:00
Anatoly Yakovenko 180d8b67e4 requests to packets function 2018-04-12 10:44:09 -07:00
Greg Fitzgerald 9c989c46ee
Merge pull request #123 from garious/cleanup-tests
Cleanup tests
2018-04-11 22:37:35 -06:00
Greg Fitzgerald 51633f509d Fix test
The test was meant to ensure the signature covered the 'tokens'
field, but then when the 'plan' field was rolled in, Transaction::verify()
started failing because Plan::verify() failed. When Transaction::verify()
was split into two, the unexpected failure was exposed but went unnoticed.
This patch brings it back to its original intent, to ensure signature
verification fails if the network attempts to change the client's payment.
2018-04-11 22:17:21 -06:00
Greg Fitzgerald 705228ecc2 Remove redundant signs 2018-04-11 22:17:21 -06:00
Greg Fitzgerald 740f6d2258
Merge pull request #122 from garious/fix-ci
Fix the nightly build
2018-04-11 20:56:58 -06:00
Greg Fitzgerald 3b9ef5ccab Fix the nightly build 2018-04-11 20:24:14 -06:00
Greg Fitzgerald ab74e7f24f
Merge pull request #117 from garious/parallelize-accountant
Enable parallelized accountant
2018-04-11 19:39:45 -06:00
Greg Fitzgerald be9a670fb7 Add process_packets() benchmark 2018-04-11 18:02:45 -06:00