Commit Graph

517 Commits

Author SHA1 Message Date
Stephen Buttolph 1834c6db7b
Merge branch 'master' into gossip 2020-05-05 14:01:43 -04:00
bb-2 c3b3b14872 Moving the cache put statements in SetStatus and SetIDs to be after the error checking 2020-05-05 08:10:22 -04:00
StephenButtolph 8f91f7294b Added gossip frequency docs 2020-05-04 23:32:54 -04:00
StephenButtolph 78144df11f Merge branch 'iterator-consistency' of github.com:StephenButtolph/gecko into iterator-consistency 2020-05-04 23:28:43 -04:00
StephenButtolph f837398403 updated DB spec 2020-05-04 23:28:36 -04:00
Stephen Buttolph be0a9cbb2c
Merge branch 'master' into iterator-consistency 2020-05-04 23:25:55 -04:00
StephenButtolph 282e89653c Make sure that Keys / Values are memory safe from levelDB 2020-05-04 23:24:17 -04:00
StephenButtolph c56870045e fixed logging message 2020-05-04 18:12:34 -04:00
Stephen Buttolph cee2a6c5ce
Merge pull request #61 from ava-labs/list-assets
add getAllBalances API method
2020-05-04 17:58:50 -04:00
Dan Laine 5d115a0b62 %v --> %w 2020-05-04 17:16:00 -04:00
Dan Laine a721c188a5 use asset alias in response 2020-05-04 17:06:07 -04:00
Dan Laine d727166f4f change response format for getAllBalances 2020-05-04 14:44:35 -04:00
Dan Laine f34efce29f Merge branch 'list-assets' of github.com:ava-labs/gecko into list-assets 2020-05-04 13:59:33 -04:00
StephenButtolph dfbb17aaed Added gossip params to tests 2020-05-04 13:59:25 -04:00
Dan Laine cbb20b2faa return 'AVA' rather than its asset id 2020-05-04 13:59:10 -04:00
StephenButtolph 0ea445a2d1 Added gossip tests 2020-05-04 02:57:02 -04:00
StephenButtolph 13fbe14d44 Started gossiping thread 2020-05-04 02:44:56 -04:00
StephenButtolph 4a989dc621 Added uniform periodic gossiping 2020-05-04 02:32:10 -04:00
Dan Laine f104b5f115 add sanity checks to platform API method arguments 2020-05-03 18:16:25 -04:00
Stephen Buttolph daa96cfc8e
Merge branch 'master' into list-assets 2020-05-03 02:56:52 -04:00
Stephen Buttolph f257187941
Merge pull request #124 from StephenButtolph/check-nil-account
check for nil account IDs in get user
2020-05-02 14:51:33 -04:00
StephenButtolph 4c3fce408e Added user tests 2020-05-02 14:05:57 -04:00
StephenButtolph acb96c8184 check for nil account IDs in get user 2020-05-02 13:22:11 -04:00
Dan Laine 46d3e1c9cc Merge branch 'list-assets' of github.com:ava-labs/gecko into list-assets 2020-05-01 13:28:53 -04:00
Dan Laine 10aa724d30 don't try to sort balances since maps aren't sorted by key. simplify balance calculation since zero value of uint64 is 0. 2020-05-01 13:28:38 -04:00
Dan Laine a0bd9cdcfb Merge branch 'master' into list-assets 2020-05-01 12:55:16 -04:00
StephenButtolph 7c11e91a53 Removed debug logging 2020-05-01 00:21:17 -04:00
Stephen Buttolph 3d734c96c9
Merge pull request #122 from StephenButtolph/v0-2-1
bump version to notify clients to update
2020-04-30 23:55:34 -04:00
StephenButtolph 2efab4710d bump version to notify clients to update 2020-04-30 23:46:37 -04:00
Stephen Buttolph b3d94ab9f0
Merge pull request #119 from StephenButtolph/platformvm-caching
Removed broken parent caching
2020-04-30 23:41:55 -04:00
Stephen Buttolph 9ac26bde32
Merge branch 'master' into platformvm-caching 2020-04-30 18:14:01 -04:00
Stephen Buttolph be365a75a6
Merge pull request #121 from moreati/ansible-roles
ansible: Factor out Ansible roles from playbooks
2020-04-30 18:13:15 -04:00
Stephen Buttolph 582236bd22
Merge branch 'master' into ansible-roles 2020-04-30 17:34:50 -04:00
Stephen Buttolph c46656bf9f
Merge pull request #120 from moreati/ansible-lint
build: Perform Ansible lint checks on pull requests
2020-04-30 17:27:37 -04:00
Stephen Buttolph 3c8b83a750
Merge branch 'master' into ansible-lint 2020-04-30 17:19:35 -04:00
Alex Willmer 383b363540 ansible: Factor out ava-start role
Also took the opportunity to
 - break the ava command over multiple lines, for cleaner diffs
 - quote the command line parameters, to handle potential whitespace

Due to how YAML collapses whitespace, the rendered command will not
contain any newline characters.
2020-04-30 22:14:39 +01:00
Alex Willmer 595fada412 ansible: Factor out ava-reset role 2020-04-30 22:14:00 +01:00
Alex Willmer 33f0201e23 ansible: Factor out ava-build role 2020-04-30 22:14:00 +01:00
Alex Willmer 4b7e0989d1 ansible: Factor out ava-stop role 2020-04-30 22:14:00 +01:00
Stephen Buttolph aedf398e05
Merge branch 'master' into list-assets 2020-04-30 17:04:20 -04:00
Stephen Buttolph 1e375dc260
Merge branch 'master' into platformvm-caching 2020-04-30 17:03:09 -04:00
Alex Willmer 6cfff89c1e ansible: Use native ping module 2020-04-30 21:58:25 +01:00
Stephen Buttolph 2875cbebd4
Merge pull request #115 from ava-labs/change-default-db-dir
change default db dir to ~/.gecko/db

resolves #112
2020-04-30 16:55:24 -04:00
Alex Willmer f5d3142bea build: Add ansible-lint exceptions for pre-existing lint 2020-04-30 21:54:09 +01:00
Alex Willmer e5111c152e build: Add Github Action to lint Ansible playbooks
Should test all pushes and pull requests
2020-04-30 21:52:39 +01:00
StephenButtolph e7f593f3f7 Removed broken parent caching 2020-04-30 16:22:19 -04:00
Dan Laine 197521af51 change default db dir to ~/.gecko/db 2020-04-29 13:44:25 -04:00
Stephen Buttolph bcfbb693f3
Merge pull request #113 from StephenButtolph/platformvm-proposal-accept
PlatformVM DB flushing after ProposalBlock.Accept
2020-04-28 19:51:12 -04:00
Stephen Buttolph 34af9fb7f7
Merge branch 'master' into platformvm-proposal-accept 2020-04-28 19:35:13 -04:00
Alex Willmer db56cccd4c
Merge branch 'master' into vms-avm-shutdown-locking 2020-04-28 22:16:25 +01:00