fb55ab8c33
format
2018-04-16 21:02:37 -07:00
13485074ac
test cast
2018-04-16 20:57:15 -07:00
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
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
7fc42de758
Fix bench
2018-04-13 00:36:23 -04:00
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
9b12a79c8d
cargo +nightly fmt
2018-04-12 17:04:11 -06:00
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
8dc15b88eb
Add skel test which sends a bad transaction, verify it doesn't make it
2018-04-12 15:01:59 -07:00
d20c952f92
Merge pull request #121 from aeyakovenko/helpers
...
requests to packets utility function
2018-04-12 12:58:30 -07:00
c2eeeb27fd
bump timer
2018-04-12 11:12:10 -07:00
180d8b67e4
requests to packets function
2018-04-12 10:44:09 -07:00
9c989c46ee
Merge pull request #123 from garious/cleanup-tests
...
Cleanup tests
2018-04-11 22:37:35 -06:00
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
705228ecc2
Remove redundant signs
2018-04-11 22:17:21 -06:00
740f6d2258
Merge pull request #122 from garious/fix-ci
...
Fix the nightly build
2018-04-11 20:56:58 -06:00
3b9ef5ccab
Fix the nightly build
2018-04-11 20:24:14 -06:00
ab74e7f24f
Merge pull request #117 from garious/parallelize-accountant
...
Enable parallelized accountant
2018-04-11 19:39:45 -06:00
be9a670fb7
Add process_packets() benchmark
2018-04-11 18:02:45 -06:00
6e43e7a146
Enable parallelized accountant
2018-04-11 18:01:59 -06:00
ab2093926a
Merge pull request #120 from aeyakovenko/fix_bench_compile
...
fix compile error
2018-04-11 18:01:13 -06:00
916b90f415
Merge pull request #118 from sakridge/ecdsa_tests
...
Add tests for ecdsa sig checking
2018-04-11 17:58:45 -06:00
2ef3db9fab
fix compile error
2018-04-11 15:40:25 -07:00
6987b6fd58
Add tests for ecdsa sig checking
2018-04-11 12:29:44 -07:00
078179e9b8
Merge pull request #115 from garious/parallelize-accountant
...
More refactoring
2018-04-11 10:28:15 -06:00
50ccecdff5
Refactor
2018-04-11 09:02:33 -06:00
e838a8c28a
Delete unused function
2018-04-10 21:56:13 -06:00
e5f7eeedbf
Use iterators
2018-04-10 21:48:26 -06:00
d1948b5a00
Zip earlier
...
And remove redundant into_iter() calls.
2018-04-10 21:18:39 -06:00
c07f700c53
Merge pull request #113 from aeyakovenko/master_pclient
...
command-line options for testnode and client
2018-04-09 23:07:03 -06:00
c934a30f66
commandline options for client and testnode
2018-04-09 21:14:52 -07:00
310d01d8a2
Merge pull request #112 from aeyakovenko/recycler_test
...
Recycler test should verifyt that its recycling
2018-04-07 09:29:50 -06:00
f330739bc7
Recycler test should verifyt that its recycling
2018-04-07 07:08:42 -07:00
58626721ad
Merge pull request #111 from garious/parallelize-accountant
...
Cleanup
2018-04-06 17:03:10 -06:00
584c8c07b8
Better symmetry
...
deserialize -> process -> serialize
2018-04-06 16:34:59 -06:00
a93ec03d2c
Move creating blobs into its own function
2018-04-06 16:22:02 -06:00
7bd3a8e004
Reduce cyclomatic complexity
2018-04-06 16:12:13 -06:00
912a5f951e
Why is msgs cloned here?
2018-04-06 15:58:11 -06:00
6869089111
Parallelize deserialize
2018-04-06 15:52:58 -06:00
6fd32fe850
Cleanup constants
2018-04-06 15:43:05 -06:00
81e2b36d38
Cleanup packet_verify
2018-04-06 15:24:15 -06:00
7d811afab1
Parallelize CPU sig verify
2018-04-06 15:21:49 -06:00
39f5aaab8b
Merge pull request #110 from garious/parallelize-accountant
...
Parallel processing of arbitrary transactions
2018-04-06 09:02:36 -06:00
5fc81dd6c8
Fix the nightly build
...
Nightly uses a different (but backward compatible) version of rustfmt.
2018-04-05 22:39:29 -06:00
491a530d90
Support parallelization of arbitrary transactions
...
Still assumes witnesses are processed serially afterward.
2018-04-05 22:30:25 -06:00
c12da50f9b
Fix race condition
...
Without this patch, it was possible for two transactions with the same
'from' address to drive its balance below zero. With the patch, we'll
hold a write lock from just before we verify sufficient funds until
after those funds are deducted from the account.
2018-04-05 22:30:25 -06:00
41e8500fc5
Break up process_verified_transaction()
2018-04-05 22:29:13 -06:00
a7f59ef3c1
Merge pull request #109 from sakridge/wip_gpu
...
Change for cuda verify integration
2018-04-05 22:24:35 -06:00
f4466c8c0a
Change for cuda verify integration
2018-04-05 20:00:44 -07:00
bc6d6b20fa
Merge pull request #108 from garious/parallelize-accountant
...
Reject old transactions so that we can boot old signatures
2018-04-05 15:11:22 -06:00