Commit Graph

1101 Commits

Author SHA1 Message Date
Alex Willmer ae9c1549d0 utils: Add tests for Packer.PackBytes & UnpackBytes 2020-03-29 17:39:32 +01:00
Alex Willmer 66b031efc6 utils: Add tests for Packer.PackFixedBytes & UnpackFixedBytes 2020-03-29 17:10:16 +01:00
Alex Willmer 3914613731 utils: Add test for Packer.UnpackLong 2020-03-29 17:07:53 +01:00
Alex Willmer 9a4a44a764 utils: Add test for Packer.UnpackInt 2020-03-29 17:06:25 +01:00
Alex Willmer 80e6749592 utils: Add test for Packer.UnpackShort 2020-03-29 17:05:03 +01:00
Alex Willmer cd59668be5 utils: Add test for Packer.UnpackByte 2020-03-29 17:04:21 +01:00
Alex Willmer aef48061c5 utils: Add tests in safe_math: Max64, Min64, Sub64, Diff64 2020-03-29 16:57:42 +01:00
Alex Willmer 52e3d427a1 utils: Add unit tests for clocks 2020-03-29 16:53:55 +01:00
Alex Willmer a718b32c6a scripts: Add a hashbang, so aws create.py can be run directly 2020-03-29 16:42:01 +01:00
Alex Willmer bf1a94611e scripts: Use argparse for create.py arguments
This gives better feedback on what arguments are required

$ python3 scripts/aws/create.py
usage: create.py [-h] numBootstraps numNodes
create.py: error: the following arguments are required: numBootstraps,
numNodes

$ python3 scripts/aws/create.py -h
usage: create.py [-h] numBootstraps numNodes

Start a number of AVA nodes on Amazon EC2

positional arguments:
  numBootstraps
  numNodes

optional arguments:
  -h, --help     show this help message and exit
2020-03-29 16:39:51 +01:00
StephenButtolph ab3dfd9a26 improved error logging 2020-03-29 00:48:39 -04:00
bb-2 6bde51cb7c fix formatting errors 2020-03-28 17:03:45 -04:00
bbuttrick 7b8b690df5 Add a ConcurrentRepolls variable to make the polling throughput configurable with a minimum threshold 2020-03-28 16:55:11 -04:00
StephenButtolph 3847e64a0a Fixed xput test 2020-03-27 17:10:37 -04:00
StephenButtolph a0b999950d removed json dump in unit test 2020-03-27 16:56:43 -04:00
StephenButtolph 4b36f9d041 Added proper json marshalling of UniqueTxs in the AVM 2020-03-27 16:54:47 -04:00
Stephen Buttolph 1fe5092e9b
Merge pull request #32 from StephenButtolph/slush
Slush
2020-03-27 14:10:49 -04:00
Stephen Buttolph baafd591d0
Merge branch 'master' into slush 2020-03-27 14:02:08 -04:00
Stephen Buttolph 10779d168d
Merge branch 'master' into custom-genesis 2020-03-27 12:11:19 -04:00
StephenButtolph 6d9683dc99 Fixed minor atomic commit bugs 2020-03-27 03:39:35 -04:00
StephenButtolph 48f9a52ed8 Merge branch 'master' into atomic 2020-03-27 02:42:59 -04:00
StephenButtolph 65393729d2 Finished first pass of APIs 2020-03-27 02:42:16 -04:00
StephenButtolph 9da52e70c0 Add address tracking to atomic utxos 2020-03-26 23:11:23 -04:00
StephenButtolph a7f2a887ca Updated Export Tx to support change addresses 2020-03-26 22:01:22 -04:00
Stephen Buttolph e5484e2ba8
Merge pull request #30 from danlaine/codec-bug-fix
fix https://github.com/ava-labs/gecko/issues/29
2020-03-26 19:27:57 -04:00
Stephen Buttolph 857fdfbd64
Merge branch 'master' into codec-bug-fix 2020-03-26 19:19:14 -04:00
Stephen Buttolph ce87da1438
Merge pull request #31 from christroutner/master
Fixing docker container example command
2020-03-26 19:18:14 -04:00
Chris Troutner 976db1ec91 Fixing docker container example command 2020-03-26 16:02:30 -07:00
StephenButtolph 42b5b137d4 updated genesis 2020-03-26 18:10:50 -04:00
StephenButtolph 87ea21c63f linked atomic swaps to main 2020-03-26 18:04:41 -04:00
Dan Laine c1abff8c3d fix bug where unmarshalling into improper type causes panic. Add test for this 2020-03-26 15:14:45 -04:00
StephenButtolph 3efccbf354 finished first pass of atomic swaps 2020-03-26 11:27:47 -04:00
StephenButtolph 93ed25f878 wip 2020-03-25 23:48:21 -04:00
Stephen Buttolph 541f762b55
Merge pull request #28 from StephenButtolph/bootstrap-oboe
Fixed off by one error in bootstrapping Alpha value
2020-03-25 12:46:59 -04:00
StephenButtolph a6a92510af Added UTXO check in platform VM 2020-03-25 12:35:13 -04:00
Stephen Buttolph 17d3c397ca
Merge branch 'master' into bootstrap-oboe 2020-03-25 10:48:32 -04:00
Stephen Buttolph 2ac683b974
Merge pull request #27 from StephenButtolph/bootstrap-early-termination
Fixed early termination of bootstrap fetching
2020-03-25 10:48:18 -04:00
StephenButtolph a308beea33 Fixed off by one error in bootstrapping Alpha value 2020-03-25 10:46:49 -04:00
Stephen Buttolph 1214a5c5ee
Merge branch 'master' into bootstrap-early-termination 2020-03-24 19:11:01 -04:00
StephenButtolph 611ada5655 Fixed early termination of bootstrap fetching 2020-03-24 19:08:53 -04:00
StephenButtolph 552e63f2eb Added export Tx to the AVM 2020-03-24 12:39:25 -04:00
Stephen Buttolph 01fe74ec6b wip 2020-03-23 16:40:37 -04:00
StephenButtolph 805b0d5530 wip importTx 2020-03-23 11:41:02 -04:00
Stephen Buttolph f1c92ffb79
Merge pull request #26 from swdee/use-flagset
Change command line arguments to use flagset to control OS exit code
2020-03-23 11:31:06 -04:00
swdee a0900b7903 changed xputtest command line arguments to use flagset so we can control the exit code 2020-03-22 12:31:10 +13:00
swdee 7c821abfaf changed gecko command line arguments to use flagset so we can control the exit code 2020-03-22 12:25:47 +13:00
StephenButtolph ec850c45b2 Removed accidental commit 2020-03-21 02:41:30 -04:00
StephenButtolph 33208a33ee remove more throughcalls 2020-03-21 02:36:37 -04:00
StephenButtolph 184f30c306 fully broke up snowball/snowflake/slush into their respective files 2020-03-21 02:26:22 -04:00
StephenButtolph 2fa9293aad Used struct embedding to avoid callthroughs 2020-03-20 21:26:52 -04:00