Commit Graph

455 Commits

Author SHA1 Message Date
Anil Dasari 8b83cb5175 review comments: remove from all dbs 2020-05-12 00:41:04 +05:30
Anil Dasari c81521a454 comments typo correction 2020-05-07 13:08:42 +05:30
Anil Dasari b096ee6771 add DeleteUser rpc 2020-05-07 13:00:27 +05:30
Stephen Buttolph 982447e8e8
Merge pull request #138 from bb-2/avm_cache_puts
Move avm cache puts after error checking
2020-05-06 16:20:16 -04:00
bb-2 d35834c4e5 move avm cache puts after error checking and catch err on status unmarshalling 2020-05-06 08:49:44 -04:00
Stephen Buttolph c8a025e1d6
Merge pull request #132 from StephenButtolph/iterator-consistency
Make sure that Keys / Values are memory safe from levelDB
2020-05-05 14:24:51 -04:00
Stephen Buttolph b12681e9ea
Merge branch 'master' into iterator-consistency 2020-05-05 14:16:26 -04:00
Stephen Buttolph ef764dff0f
Merge pull request #133 from bb-2/spdag_cache_puts
Move spdag cache puts to be after error checking
2020-05-05 14:09:41 -04:00
StephenButtolph 9b583ccc6e fixed iterator error message to report the correct function 2020-05-05 14:06:30 -04:00
StephenButtolph 695290fb59 moved copyBytes to the utils package 2020-05-05 14:04:03 -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 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
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 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
Dan Laine cbb20b2faa return 'AVA' rather than its asset id 2020-05-04 13:59:10 -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