author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
127,814 | 15.07.2020 08:08:27 | 25,200 | 9040721104bd634099bbb1be35af6382d636af26 | Update to newest rosetta release | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -4,7 +4,7 @@ go 1.13\nrequire (\ngithub.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect\n- github.com/coinbase/rosetta-sdk-go v0.2.1-0.20200520212551-1f6ff35ffe98\n+ github.com/coinbase/rosetta... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update to newest rosetta release |
127,814 | 15.07.2020 08:09:01 | 25,200 | d3e7a7d874657f9c8650d82a7ba43d3cedfeb011 | Add support for specifying inactive reconciliation frequency | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -136,6 +136,10 @@ of what one of these files looks like.`,\n// while fetching accounts during inactive reconciliation.\nInactiveReconciliationConcurrency uint64\n+ // InactiveReconciliationFrequency is the... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add support for specifying inactive reconciliation frequency |
127,814 | 15.07.2020 08:11:00 | 25,200 | a721e989ff29c799ef8ff663f3a8f982647e0415 | Update README with inactive frequency | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -124,6 +124,7 @@ Flags:\nreconciliation errors during development. (default true)\n-h, --help help for check\n--inactive-reconciliation-concurrency uint concurrency to use while fetching accounts during inactive... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update README with inactive frequency |
127,814 | 14.07.2020 08:26:24 | 25,200 | 1ce52b48c2ef487193e1f9e5113feb378bde57dd | Add test for transaction hash duplicated in same block | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage_test.go",
"new_path": "internal/storage/block_storage_test.go",
"diff": "@@ -239,6 +239,22 @@ var (\n},\n},\n}\n+\n+ duplicateTxBlock = &types.Block{\n+ BlockIdentifier: &types.BlockIdentifier{\n+ Hash: \"blah 4\",\n+ Index: 4,\n... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add test for transaction hash duplicated in same block |
127,814 | 15.07.2020 10:50:28 | 25,200 | 06f85646135b6f1a86ac53b16ea2f0de43fd8595 | Store transaction hash with block hash prefix | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -86,6 +86,10 @@ var (\n// ErrAlreadyStartedSyncing is returned when trying to bootstrap\n// balances after syncing has started.\nErrAlreadyStartedSyncing = errors.... | Go | Apache License 2.0 | coinbase/rosetta-cli | Store transaction hash with block hash prefix |
127,814 | 15.07.2020 15:56:13 | 25,200 | 18655f2170e37cb8048ae96edc3f6132d4ff5afc | Add CounterStorage in storage package | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -369,7 +369,7 @@ func findMissingOps(\nnil,\n)\n- blockStorage := storage.NewBlockStorage(ctx, localStore, blockStorageHelper)\n+ blockStorage := storage.NewBlockStorage(localStore, blockStorageHelper)\n//... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add CounterStorage in storage package |
127,814 | 15.07.2020 16:46:46 | 25,200 | dc6c157615da03f37f6872eab400257d3771e095 | Add periodic logging | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -21,6 +21,7 @@ import (\n\"fmt\"\n\"io/ioutil\"\n\"log\"\n+ \"math/big\"\n\"os\"\n\"os/signal\"\n\"path\"\n@@ -354,7 +355,10 @@ func findMissingOps(\nreturn nil, fmt.Errorf(\"%w: unable to initialize datab... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add periodic logging |
127,814 | 15.07.2020 17:12:04 | 25,200 | b85c333856e781cda156b330d102c32b23e73ac5 | Print temporary directory if used | [
{
"change_type": "MODIFY",
"old_path": "internal/utils/utils.go",
"new_path": "internal/utils/utils.go",
"diff": "@@ -20,6 +20,7 @@ import (\n\"os\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n+ \"github.com/fatih/color\"\n)\n// CreateTempDir creates a directory in\n@@ -30,6 +31,7 @@ func CreateT... | Go | Apache License 2.0 | coinbase/rosetta-cli | Print temporary directory if used |
127,814 | 15.07.2020 17:34:01 | 25,200 | d3a3b30985f16f316586884c41ff01e8ecb27d5d | Ignore bootstrap balances if already have data | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -83,10 +83,6 @@ var (\n// hash cannot be stored because it is a duplicate.\nErrDuplicateTransactionHash = errors.New(\"duplicate transaction hash\")\n- // ErrAlrea... | Go | Apache License 2.0 | coinbase/rosetta-cli | Ignore bootstrap balances if already have data |
127,814 | 15.07.2020 17:53:32 | 25,200 | c2e7ccbf981f48c10e5e11aeafa9380607bdd3de | Add view network command | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -628,6 +628,9 @@ func runCheckCmd(cmd *cobra.Command, args []string) {\ntime.Sleep(PeriodicLoggingFrequency)\n}\n+ // Print stats one last time before exiting\n+ _ = logger.LogCounterStorage(ctx)\n+\nretur... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add view network command |
127,814 | 15.07.2020 19:38:08 | 25,200 | 67588def6e90de7de95b7cafc621468a26ff0406 | Fix reconciler panic | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -4,7 +4,7 @@ go 1.13\nrequire (\ngithub.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect\n- github.com/coinbase/rosetta-sdk-go v0.3.1\n+ github.com/coinbase/rosetta-sdk-go v0.3.2\ngithub.com/dgr... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix reconciler panic |
127,814 | 22.07.2020 15:35:54 | 25,200 | fe0a1a5c660da076954852420020af3b5ad5096d | Add key storage | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -6,6 +6,7 @@ require (\ngithub.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect\ngithub.com/coinbase/rosetta-sdk-go v0.3.3-0.20200720162936-f929bfc4a262\ngithub.com/dgraph-io/badger v1.6.1\n+ gi... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add key storage |
127,814 | 22.07.2020 17:53:41 | 25,200 | 7b8bd4edabe083a817ee748bc57ae6c5ee99d295 | Add scenario processing | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/scenario/scenario.go",
"diff": "+// Copyright 2020 Coinbase, Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a co... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add scenario processing |
127,814 | 22.07.2020 18:37:25 | 25,200 | fdca45cd135c0c55d1e1608817286e4bc9e072d1 | First pass at configuration overhaul | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -16,15 +16,12 @@ package cmd\nimport (\n\"context\"\n- \"encoding/json\"\n\"errors\"\n\"fmt\"\n- \"io/ioutil\"\n\"log\"\n\"math/big\"\n\"os\"\n\"os/signal\"\n- \"path\"\n\"syscall\"\n\"time\"\n@@ -303,14 +... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at configuration overhaul |
127,814 | 22.07.2020 20:44:15 | 25,200 | 01d0afcd1818e2d59706290fe13caa45deab6010 | Move all configs to configuration file | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -181,12 +181,6 @@ of what one of these files looks like.`,\n)\nfunc init() {\n- checkCmd.Flags().StringVar(\n- &DataDir,\n- \"data-dir\",\n- \"\",\n- \"folder used to store logs and any data used to perfor... | Go | Apache License 2.0 | coinbase/rosetta-cli | Move all configs to configuration file |
127,814 | 22.07.2020 22:11:17 | 25,200 | aaaa609b41cad075fc522e9dcaff660b61ca18af | Populating defaults | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -4,6 +4,7 @@ import (\n\"fmt\"\n\"log\"\n+ \"github.com/coinbase/rosetta-cli/internal/scenario\"\n\"github.com/coinbase/rosetta-cli/internal/utils\"\n\"github.com/coinba... | Go | Apache License 2.0 | coinbase/rosetta-cli | Populating defaults |
127,814 | 23.07.2020 08:19:57 | 25,200 | 12c7f5048c6214280727b84040e7281f69ef4132 | Populate missing configuration fields by default | [
{
"change_type": "MODIFY",
"old_path": "cmd/check.go",
"new_path": "cmd/check.go",
"diff": "@@ -48,13 +48,6 @@ const (\n// TODO: make configurable\nExtendedRetryElapsedTime = 5 * time.Minute\n- // InactiveFailureLookbackWindow is the size of each window to check\n- // for missing ops. If a block wit... | Go | Apache License 2.0 | coinbase/rosetta-cli | Populate missing configuration fields by default |
127,814 | 23.07.2020 09:14:46 | 25,200 | 98211d7b5c023bd98abbe96c410a67a3883e656f | Basic test coverage for configuration | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -3,6 +3,7 @@ package configuration\nimport (\n\"fmt\"\n\"log\"\n+ \"math/big\"\n\"github.com/coinbase/rosetta-cli/internal/scenario\"\n\"github.com/coinbase/rosetta-cli/... | Go | Apache License 2.0 | coinbase/rosetta-cli | Basic test coverage for configuration |
127,814 | 23.07.2020 09:25:38 | 25,200 | 1910a440beac27b98fbb9810dcb0266ac27a1b37 | Start command refactor | [
{
"change_type": "MODIFY",
"old_path": "cmd/root.go",
"new_path": "cmd/root.go",
"diff": "@@ -26,9 +26,7 @@ var (\nShort: \"CLI for the Rosetta API\",\n}\n- // ServerURL is the base URL for a Rosetta\n- // server to validate.\n- ServerURL string\n+ ConfigurationFile string\n)\n// Execute handles all... | Go | Apache License 2.0 | coinbase/rosetta-cli | Start command refactor |
127,814 | 23.07.2020 09:47:00 | 25,200 | 3d9d8edbcd0e9879b138521de667161394b0042f | Update check_data | [
{
"change_type": "RENAME",
"old_path": "cmd/check.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -48,6 +48,13 @@ const (\n// TODO: make configurable\nExtendedRetryElapsedTime = 5 * time.Minute\n+ // InactiveFailureLookbackWindow is the size of each window to check\n+ // for missing ops. If a bloc... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update check_data |
127,814 | 23.07.2020 09:51:11 | 25,200 | 8797d0c33296b2c3f3bcf6de6e7ce78aa489b5be | Cleanup asserter configuration | [
{
"change_type": "RENAME",
"old_path": "cmd/create_configuration.go",
"new_path": "cmd/utils_asserter_configuration.go",
"diff": "@@ -16,26 +16,17 @@ package cmd\nimport (\n\"context\"\n- \"fmt\"\n- \"io/ioutil\"\n\"log\"\n- \"os\"\n- \"path\"\n+\n+ \"github.com/coinbase/rosetta-cli/internal/utils\"... | Go | Apache License 2.0 | coinbase/rosetta-cli | Cleanup asserter configuration |
127,814 | 23.07.2020 09:54:19 | 25,200 | f1b66d7477565e6629e56c886a0e9f87f7ae006c | Cleanup view commands | [
{
"change_type": "MODIFY",
"old_path": "cmd/root.go",
"new_path": "cmd/root.go",
"diff": "@@ -47,8 +47,8 @@ func init() {\n&configurationFile,\n\"configuration-file\",\n\"\",\n- \"configuration file that provides connection and test settings\",\n- `If you would like to generate a starter configurati... | Go | Apache License 2.0 | coinbase/rosetta-cli | Cleanup view commands |
127,814 | 23.07.2020 10:01:48 | 25,200 | dc217d8ab21a64dbedb920abfa6d523f5d5b0a1a | Add configuration cmds | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "cmd/configuration_create.go",
"diff": "+package cmd\n+\n+import (\n+ \"log\"\n+\n+ \"github.com/coinbase/rosetta-cli/configuration\"\n+ \"github.com/coinbase/rosetta-cli/internal/utils\"\n+\n+ \"github.com/spf13/cobra\"\n+)\n+\n+var (\n+ configu... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add configuration cmds |
127,814 | 23.07.2020 10:08:01 | 25,200 | 6113a33e040ef3c63384f782c96f1e22de59400d | Add stub for check construction | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "cmd/check_construction.go",
"diff": "+package cmd\n+\n+import (\n+ \"log\"\n+\n+ \"github.com/spf13/cobra\"\n+)\n+\n+var (\n+ checkConstructionCmd = &cobra.Command{\n+ Use: \"check:construction\",\n+ Short: \"Check the correctness of a Rosetta C... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add stub for check construction |
127,814 | 23.07.2020 10:12:21 | 25,200 | 5fec5d20d21b28f1f1c2bc04397a0cf935f7461c | Don't always create temporary directory | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_construction.go",
"new_path": "cmd/check_construction.go",
"diff": "@@ -15,5 +15,6 @@ var (\n)\nfunc runCheckConstructionCmd(cmd *cobra.Command, args []string) {\n+ // ensureDataDirectoryExists()\nlog.Fatal(\"not implemented!\")\n}\n"
},
{
"c... | Go | Apache License 2.0 | coinbase/rosetta-cli | Don't always create temporary directory |
127,814 | 23.07.2020 10:17:14 | 25,200 | e8b9d6bd34e5f389cba6a17f185b73f7feeef33a | Pretty print serialized json | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -64,7 +64,7 @@ const (\nvar (\ncheckDataCmd = &cobra.Command{\n- Use: \"check\",\n+ Use: \"check:data\",\nShort: \"Check the correctness of a Rosetta Data API Implementation\",\nLong: `Check all ... | Go | Apache License 2.0 | coinbase/rosetta-cli | Pretty print serialized json |
127,814 | 23.07.2020 22:55:13 | 25,200 | 0478c85071f8c81025513556948b0bd6f84d9540 | next up, hash storage | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/storage/balance_storage.go",
"diff": "+package storage\n+\n+import (\n+ \"context\"\n+ \"errors\"\n+ \"fmt\"\n+ \"log\"\n+ \"math/big\"\n+\n+ \"github.com/coinbase/rosetta-cli/internal/utils\"\n+\n+ \"github.com/coinbase/rosetta-sdk-go/... | Go | Apache License 2.0 | coinbase/rosetta-cli | next up, hash storage |
127,814 | 23.07.2020 22:55:41 | 25,200 | ae7308a9d6f4a5b1a2906a05d87b8887bc974afb | Remove storage helper | [
{
"change_type": "DELETE",
"old_path": "internal/processor/storage_helper.go",
"new_path": null,
"diff": "-// Copyright 2020 Coinbase, Inc.\n-//\n-// Licensed under the Apache License, Version 2.0 (the \"License\");\n-// you may not use this file except in compliance with the License.\n-// You may o... | Go | Apache License 2.0 | coinbase/rosetta-cli | Remove storage helper |
127,814 | 23.07.2020 23:03:28 | 25,200 | dc7214d7e1fc31fb511c13a8ade6d5a281af68c6 | Put hash storage back in block storage | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -32,6 +32,16 @@ const (\n// blockNamespace is prepended to any stored block.\nblockNamespace = \"block\"\n+\n+ // blockHashNamespace is prepended to any stored blo... | Go | Apache License 2.0 | coinbase/rosetta-cli | Put hash storage back in block storage |
127,814 | 24.07.2020 00:01:50 | 25,200 | 5a989f28cf23cec0e2add23e6517f227d3633974 | Use closures for commit handler | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/statefulsyncer/stateful_syncer.go",
"diff": "+package statefulsyncer\n+\n+import (\n+ \"context\"\n+ \"errors\"\n+ \"fmt\"\n+ \"log\"\n+ \"math/big\"\n+ \"os\"\n+ \"os/signal\"\n+ \"syscall\"\n+ \"time\"\n+\n+ \"github.com/coinbase/rose... | Go | Apache License 2.0 | coinbase/rosetta-cli | Use closures for commit handler |
127,814 | 24.07.2020 08:38:40 | 25,200 | 311c1e3d8065fdd88faafa7f473e0ecf57a96f7e | cleanup worker abstraction in storage | [
{
"change_type": "DELETE",
"old_path": "internal/processor/syncer_handler.go",
"new_path": null,
"diff": "-// Copyright 2020 Coinbase, Inc.\n-//\n-// Licensed under the Apache License, Version 2.0 (the \"License\");\n-// you may not use this file except in compliance with the License.\n-// You may o... | Go | Apache License 2.0 | coinbase/rosetta-cli | cleanup worker abstraction in storage |
127,814 | 24.07.2020 11:15:46 | 25,200 | a4911c6af68289ed900fd3c41a8c9c924a5352d6 | Fix database close issue | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -122,6 +122,8 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\n&SignalReceived,\n)\n+ defer dataTester.CloseDatabase(ctx)\n+\ng, ctx := errgroup.WithContext(ctx)\ng.Go(func() error {... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix database close issue |
127,814 | 24.07.2020 11:37:29 | 25,200 | 8fa0bad792a5c1ed7280192bb3647cd2aa4842a2 | Fix syncer initialization | [
{
"change_type": "MODIFY",
"old_path": "internal/statefulsyncer/stateful_syncer.go",
"new_path": "internal/statefulsyncer/stateful_syncer.go",
"diff": "@@ -16,6 +16,9 @@ import (\nvar _ syncer.Handler = (*StatefulSyncer)(nil)\ntype StatefulSyncer struct {\n+ network *types.NetworkIdentifier\n+ fetch... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix syncer initialization |
127,814 | 24.07.2020 12:25:10 | 25,200 | 4688705a329ff6795d52c7852d55d5cbfdb5799d | Update format command to run linting | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -21,10 +21,12 @@ lint:\n-E golint,misspell,gocyclo,whitespace,goconst,gocritic,gocognit,bodyclose,unconvert,lll,unparam,gomnd\nformat:\n- gofmt -s -w -l .\n+ golint ./cmd/... ./internal/... ./configuration/...;\n+... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update format command to run linting |
127,814 | 24.07.2020 12:25:46 | 25,200 | 6a7d334067ea0524e2c09b6ea8d9dbb14be80b6b | Add golint to lint command | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -17,15 +17,14 @@ deps:\ngo get ./...\nlint:\n+ ! golint ./cmd/... ./internal/... ./configuration/... | read;\ngolangci-lint run -v \\\n- -E golint,misspell,gocyclo,whitespace,goconst,gocritic,gocognit,bodyclose,un... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add golint to lint command |
127,814 | 24.07.2020 14:20:07 | 25,200 | 810e4195a19e4d6a39f33fae19f105ad84fc4ab5 | Write tests for FindTransaction | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -53,6 +53,10 @@ var (\n// found in BlockStorage.\nErrBlockNotFound = errors.New(\"block not found\")\n+ // ErrTransactionNotFound is returned when a transaction\n+... | Go | Apache License 2.0 | coinbase/rosetta-cli | Write tests for FindTransaction |
127,814 | 24.07.2020 15:01:06 | 25,200 | 4077794044c745881bdc1464f7148f1a54477ad5 | implement FindTransaction | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -19,6 +19,7 @@ import (\n\"errors\"\n\"fmt\"\n\"log\"\n+ \"math\"\n\"github.com/coinbase/rosetta-sdk-go/syncer\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n@@ ... | Go | Apache License 2.0 | coinbase/rosetta-cli | implement FindTransaction |
127,814 | 24.07.2020 16:16:46 | 25,200 | 935f5b47612e4d2df81614099de607a510ea3312 | Simple pass at tracking coins | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/storage/coin_storage.go",
"diff": "+// Copyright 2020 Coinbase, Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a... | Go | Apache License 2.0 | coinbase/rosetta-cli | Simple pass at tracking coins |
127,814 | 24.07.2020 16:29:21 | 25,200 | 2d2dc41753f5a12604b0977ede955400e45d984f | Add account tracking to UTXOs | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage.go",
"new_path": "internal/storage/coin_storage.go",
"diff": "@@ -60,8 +60,8 @@ func getCoinKey(identifier string) []byte {\nreturn []byte(fmt.Sprintf(\"%s/%s\", coinNamespace, identifier))\n}\n-func getCoinAccountKey(address stri... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add account tracking to UTXOs |
127,814 | 24.07.2020 16:46:15 | 25,200 | b201f82f9f9d2900da1b9187177d6a85036e2765 | First pass at all coin methods | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage.go",
"new_path": "internal/storage/coin_storage.go",
"diff": "@@ -60,6 +60,24 @@ func getCoinAccountKey(accountIdentifier *types.AccountIdentifier) []byte {\nreturn []byte(fmt.Sprintf(\"%s/%s\", coinAccountNamespace, types.Hash(ac... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at all coin methods |
127,814 | 24.07.2020 17:07:08 | 25,200 | b33aa8e6bd9a12edeb9df5bc4a94372200e41cf7 | Write first test for coin storage | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage.go",
"new_path": "internal/storage/coin_storage.go",
"diff": "@@ -46,6 +46,8 @@ func NewCoinStorage(\n}\n}\n+// Coin represents some spendable output (typically\n+// referred to as a UTXO).\ntype Coin struct {\nIdentifier string `... | Go | Apache License 2.0 | coinbase/rosetta-cli | Write first test for coin storage |
127,814 | 24.07.2020 17:30:20 | 25,200 | d74a83c30e14883d9d9f259d8da88a4917adb1c7 | Add happy path test cases | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage.go",
"new_path": "internal/storage/coin_storage.go",
"diff": "@@ -110,13 +110,14 @@ func (c *CoinStorage) tryAddingCoin(ctx context.Context, transaction DatabaseTra\nif !accountExists {\ncoins = map[string]struct{}{}\n- coins[coin... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add happy path test cases |
127,814 | 25.07.2020 12:08:33 | 25,200 | 062165101323b84c0b5e6f51df847c78a7f0b2cf | Add new tests with failure status | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage_test.go",
"new_path": "internal/storage/coin_storage_test.go",
"diff": "@@ -97,6 +97,16 @@ var (\ncoinSpent: \"coin2\",\n},\n},\n+ {\n+ Account: account2,\n+ Status: failureStatus,\n+ Amount: &types.Amount{\n+ Value: \"20\",\n+ },... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add new tests with failure status |
127,814 | 25.07.2020 13:40:15 | 25,200 | 79afd561b7f72b22f507ec81d791544177efb1b4 | Update config and pass existing tests | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -94,7 +94,7 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nctx, cancel := context.WithCancel(context.Background())\nfetcher := fetcher.New(\n- Config.Data.OnlineURL,\n+ Config.Onli... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update config and pass existing tests |
127,814 | 25.07.2020 13:48:41 | 25,200 | e6d50c7232fc4c4bf0b534abc7860e0f6780985d | Add custom timeout to all fetchers | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -18,6 +18,7 @@ import (\n\"context\"\n\"fmt\"\n\"log\"\n+ \"time\"\n\"github.com/coinbase/rosetta-cli/internal/tester\"\n@@ -98,6 +99,7 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) ... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add custom timeout to all fetchers |
127,814 | 25.07.2020 14:01:33 | 25,200 | ecedb0f2d7ce6176e349ef35bd1e0010a278fd50 | Use config for network | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -16,11 +16,11 @@ package cmd\nimport (\n\"context\"\n- \"fmt\"\n\"log\"\n\"time\"\n\"github.com/coinbase/rosetta-cli/internal/tester\"\n+ \"github.com/coinbase/rosetta-cli/internal/utils\"\n\"git... | Go | Apache License 2.0 | coinbase/rosetta-cli | Use config for network |
127,814 | 25.07.2020 14:04:09 | 25,200 | b3b598b118bfb5c1e45ed60b932fe8f37c0e39c1 | Less verbose stats logging | [
{
"change_type": "MODIFY",
"old_path": "internal/logger/logger.go",
"new_path": "internal/logger/logger.go",
"diff": "@@ -67,6 +67,8 @@ type Logger struct {\nlogBalanceChanges bool\nlogReconciliation bool\n+ lastStatsMessage string\n+\n// CounterStorage is some initialized CounterStorage.\nCounterSt... | Go | Apache License 2.0 | coinbase/rosetta-cli | Less verbose stats logging |
127,814 | 25.07.2020 14:10:30 | 25,200 | a00aa82c95b738c8374eb582abee03a085fae08d | Configurable discrepency finding | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -153,6 +153,5 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\n// to find missing operations.\ndataTester.HandleErr(ctx, err)\n- // TODO: make configurable to run\ndataTester.FindMis... | Go | Apache License 2.0 | coinbase/rosetta-cli | Configurable discrepency finding |
127,814 | 25.07.2020 14:29:12 | 25,200 | c77468d0f97123caeee19326c8b3b8411f517a07 | Disable balance tracking | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_data.go",
"new_path": "cmd/check_data.go",
"diff": "@@ -119,8 +119,7 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nfetcher,\ncancel,\nnetworkStatus.GenesisBlockIdentifier,\n- !Config.Data.ReconciliationDisabled,\n- nil,\n+ nil, // onl... | Go | Apache License 2.0 | coinbase/rosetta-cli | Disable balance tracking |
127,814 | 26.07.2020 09:19:15 | 25,200 | 70bad382f5892af473a7ff2ed26763b014f0d99a | Stub out BroadcastStorage methods | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/storage/broadcast_storage.go",
"diff": "+// Copyright 2020 Coinbase, Inc.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obt... | Go | Apache License 2.0 | coinbase/rosetta-cli | Stub out BroadcastStorage methods |
127,814 | 26.07.2020 09:42:39 | 25,200 | 0b0c1e50ba890f2a0af9464604e402ae2dfe8900 | Change FindTransaction to return depth from last sighting | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -19,7 +19,6 @@ import (\n\"errors\"\n\"fmt\"\n\"log\"\n- \"math\"\n\"github.com/coinbase/rosetta-sdk-go/syncer\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n@@ ... | Go | Apache License 2.0 | coinbase/rosetta-cli | Change FindTransaction to return depth from last sighting |
127,814 | 26.07.2020 10:10:18 | 25,200 | 62b9c6f62b669aca7e179f887a517260fb4b8260 | first pass at broadcast implementation | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -17,12 +17,23 @@ package storage\nimport (\n\"context\"\n\"errors\"\n+ \"fmt\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n)\nvar _ BlockWorker = (*Broa... | Go | Apache License 2.0 | coinbase/rosetta-cli | first pass at broadcast implementation |
127,814 | 26.07.2020 10:18:33 | 25,200 | 685ac193f1ff8c7f580eddf3deaaa7387a18436e | first pass at getting all locked addresses | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -16,7 +16,6 @@ package storage\nimport (\n\"context\"\n- \"errors\"\n\"fmt\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n@@ -77,6 +76,7 @@ type Broadcas... | Go | Apache License 2.0 | coinbase/rosetta-cli | first pass at getting all locked addresses |
127,814 | 26.07.2020 10:24:13 | 25,200 | f53a20c7399087dfda3f1c3e5ddedfc56b6a6e52 | First pass at broadcastPending | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -186,6 +186,30 @@ func (b *BroadcastStorage) getAllBroadcasts(ctx context.Context) ([]*broadcast,\nreturn broadcasts, nil\n}\n+func (b *BroadcastStorage) b... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at broadcastPending |
127,814 | 26.07.2020 10:50:42 | 25,200 | fc9af2640b0887067dd01c31768f426d67fc368c | First pass at broadcast storage | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -52,8 +52,9 @@ type BroadcastStorageHelper interface {\nCurrentBlockIdentifier(context.Context) (*types.BlockIdentifier, error) // used to determine if sho... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at broadcast storage |
127,814 | 26.07.2020 11:04:04 | 25,200 | b3ba17e7c16d555411ae1e619cc2c179d7f2b436 | Update function signature of FindTransaction based on learnings in
BroadcastStorage | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/block_storage.go",
"new_path": "internal/storage/block_storage.go",
"diff": "@@ -53,10 +53,6 @@ var (\n// found in BlockStorage.\nErrBlockNotFound = errors.New(\"block not found\")\n- // ErrTransactionNotFound is returned when a transaction\n-... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update function signature of FindTransaction based on learnings in
BroadcastStorage |
127,814 | 26.07.2020 11:20:41 | 25,200 | 2ca6b9a8dfc0da4e86f41dc29867d19c8d5ab020 | Stub MockBroadcastStorageHelper | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/balance_storage_test.go",
"new_path": "internal/storage/balance_storage_test.go",
"diff": "@@ -607,6 +607,8 @@ func TestBootstrapBalances(t *testing.T) {\n})\n}\n+var _ BalanceStorageHelper = (*MockBalanceStorageHelper)(nil)\n+\ntype MockBalan... | Go | Apache License 2.0 | coinbase/rosetta-cli | Stub MockBroadcastStorageHelper |
127,814 | 26.07.2020 11:45:35 | 25,200 | b682debe856b3d991e2955ba6ae18344b0537623 | Add support for broadcast limits | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -25,6 +25,11 @@ var _ BlockWorker = (*BroadcastStorage)(nil)\nconst (\ntransactionBroadcastNamespace = \"transaction-broadcast\"\n+\n+ // trailLimit indica... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add support for broadcast limits |
127,814 | 26.07.2020 11:49:34 | 25,200 | 6d1df33b127b1547577fa55f1876518862b5cc8d | Test locked addresses with no broadcasts | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage_test.go",
"new_path": "internal/storage/broadcast_storage_test.go",
"diff": "@@ -45,6 +45,13 @@ func TestBroadcastStorage(t *testing.T) {\nmockHelper := &MockBroadcastStorageHelper{}\nmockHandler := &MockBroadcastStorageHandl... | Go | Apache License 2.0 | coinbase/rosetta-cli | Test locked addresses with no broadcasts |
127,814 | 26.07.2020 11:57:43 | 25,200 | 8cc4b5cf0261b5b028838bad9074af74f38c9e6b | Add convenience method to fill empty blocks | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage_test.go",
"new_path": "internal/storage/broadcast_storage_test.go",
"diff": "@@ -16,6 +16,7 @@ package storage\nimport (\n\"context\"\n+ \"fmt\"\n\"testing\"\n\"github.com/coinbase/rosetta-cli/internal/utils\"\n@@ -30,6 +31,2... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add convenience method to fill empty blocks |
127,814 | 26.07.2020 16:10:15 | 25,200 | 831cd7a7e55dab68d34524e46089fd934dcddc90 | Test expired failure | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -17,6 +17,7 @@ package storage\nimport (\n\"context\"\n\"fmt\"\n+ \"log\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n)\n@@ -197,6 +198,10 @@ func (b *B... | Go | Apache License 2.0 | coinbase/rosetta-cli | Test expired failure |
127,814 | 26.07.2020 16:42:59 | 25,200 | 45da909ff28b80be94a6389609f1d4707e04b6d7 | Add success testing | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage_test.go",
"new_path": "internal/storage/broadcast_storage_test.go",
"diff": "@@ -73,6 +73,365 @@ func opFiller(sender string, opNumber int) []*types.Operation {\nreturn ops\n}\n+func TestBroadcastStorageBroadcastSuccess(t *te... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add success testing |
127,814 | 26.07.2020 16:51:02 | 25,200 | 96a261b8937a7a937f555dc0186e6d29129e7983 | Test broadcast close to tip | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -26,11 +26,6 @@ var _ BlockWorker = (*BroadcastStorage)(nil)\nconst (\ntransactionBroadcastNamespace = \"transaction-broadcast\"\n-\n- // trailLimit indica... | Go | Apache License 2.0 | coinbase/rosetta-cli | Test broadcast close to tip |
127,814 | 26.07.2020 18:59:49 | 25,200 | 24adbfdb186013c0e5239f54c2d0925a8928f892 | Migrate to offical Coin type | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/coin_storage.go",
"new_path": "internal/storage/coin_storage.go",
"diff": "@@ -16,6 +16,7 @@ package storage\nimport (\n\"context\"\n+ \"errors\"\n\"fmt\"\n\"github.com/coinbase/rosetta-sdk-go/asserter\"\n@@ -25,13 +26,6 @@ import (\nconst (\n... | Go | Apache License 2.0 | coinbase/rosetta-cli | Migrate to offical Coin type |
127,814 | 26.07.2020 20:28:58 | 25,200 | 7ac38d03358183fd86aa0dfb7296feacc3f6d802 | Update scenario for new coin model | [
{
"change_type": "MODIFY",
"old_path": "internal/scenario/scenario.go",
"new_path": "internal/scenario/scenario.go",
"diff": "@@ -43,12 +43,12 @@ const (\n// can be supported.\nRecipientValue = \"{{ RECIPIENT_VALUE }}\"\n- // UTXOIdentifier is the globally unique identifier\n+ // CoinIdentifier is t... | Go | Apache License 2.0 | coinbase/rosetta-cli | Update scenario for new coin model |
127,814 | 26.07.2020 20:29:23 | 25,200 | e2f35555e7c1df150d06188032c384e44ca0e497 | Add ability to randomly get key | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/key_storage.go",
"new_path": "internal/storage/key_storage.go",
"diff": "@@ -17,7 +17,10 @@ package storage\nimport (\n\"bytes\"\n\"context\"\n+ \"errors\"\n\"fmt\"\n+ \"math/rand\"\n+ \"time\"\n\"github.com/coinbase/rosetta-sdk-go/keys\"\n\"g... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add ability to randomly get key |
127,814 | 26.07.2020 20:36:29 | 25,200 | 2c3c451df9f929eaa596c425eb55ddb099246a2e | First pass at construction loggers | [
{
"change_type": "MODIFY",
"old_path": "internal/logger/logger.go",
"new_path": "internal/logger/logger.go",
"diff": "@@ -149,6 +149,33 @@ func (l *Logger) LogDataStats(ctx context.Context) error {\nreturn nil\n}\n+// LogConstructionStats logs all construction values in CounterStorage.\n+func (l *Lo... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at construction loggers |
127,814 | 26.07.2020 20:58:01 | 25,200 | 9d9765b9cffd6a737b51b1b67b8091d4075b5982 | First pass at broadcast storage handler and helper | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -157,6 +157,10 @@ type ConstructionConfiguration struct {\n// before broadcasting a transaction. If we are > BroadcastTrailLimit\n// from tip, no transactions will be br... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at broadcast storage handler and helper |
127,814 | 26.07.2020 21:16:12 | 25,200 | 6db488dc742173805896b3d1a4b6c8d04aaf3329 | First pass at integration | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_construction.go",
"new_path": "cmd/check_construction.go",
"diff": "package cmd\nimport (\n+ \"context\"\n\"log\"\n+ \"os\"\n+ \"time\"\n+ \"github.com/coinbase/rosetta-cli/internal/tester\"\n+ \"github.com/coinbase/rosetta-cli/internal/utils\"\n+\n+... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at integration |
127,814 | 26.07.2020 22:36:22 | 25,200 | 741e44002caa3efc763cb994740b097754ca0c91 | Get on the master commit of rosetta-sdk-go | [
{
"change_type": "MODIFY",
"old_path": "go.mod",
"new_path": "go.mod",
"diff": "@@ -4,7 +4,7 @@ go 1.13\nrequire (\ngithub.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect\n- github.com/coinbase/rosetta-sdk-go v0.3.3-0.20200727045009-f7e678089495\n+ github.com/coinbase/rosetta... | Go | Apache License 2.0 | coinbase/rosetta-cli | Get on the master commit of rosetta-sdk-go |
127,814 | 26.07.2020 23:36:01 | 25,200 | fdc4d34fed5bee756d3a7343da3060ad1f5b9a6a | Rough first pass on change support | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -135,11 +135,11 @@ type ConstructionConfiguration struct {\n// testing (account vs UTXO).\nAccountingModel AccountingModel `json:\"accounting_model\"`\n- // TransferScen... | Go | Apache License 2.0 | coinbase/rosetta-cli | Rough first pass on change support |
127,814 | 27.07.2020 10:17:03 | 25,200 | 6590269771c7a175795b72cbb89dddd20a620177 | Allow for clearning of pending broadcasts when there is a known error | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -162,7 +162,12 @@ type ConstructionConfiguration struct {\n// are broadcast failures (that surpass the BroadcastLimit).\nIgnoreBroadcastFailures bool `json:\"ignore_broa... | Go | Apache License 2.0 | coinbase/rosetta-cli | Allow for clearning of pending broadcasts when there is a known error |
127,814 | 27.07.2020 10:20:07 | 25,200 | b1efa54686f44daddfe96bb257d9e3b2fff9f1b1 | Test change address population | [
{
"change_type": "MODIFY",
"old_path": "internal/scenario/scenario_test.go",
"new_path": "internal/scenario/scenario_test.go",
"diff": "@@ -27,8 +27,10 @@ var (\nsender = \"addr1\"\nsenderValue = big.NewInt(100)\nrecipient = \"addr2\"\n- recipientValue = big.NewInt(90)\n+ recipientValue = big.NewInt... | Go | Apache License 2.0 | coinbase/rosetta-cli | Test change address population |
127,814 | 27.07.2020 10:46:37 | 25,200 | 492484c3be3fe2bca5f8c63b9083ae0bdf37d700 | Fix sender amount bug on utxo | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -393,6 +393,8 @@ func (t *ConstructionTester) SendableBalance(\n}\nbal = val\n+ bal = new(big.Int).Sub(bal, t.minimumBalance)\n+ bal = new(big.Int).Sub(bal, t.maximumF... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix sender amount bug on utxo |
127,814 | 27.07.2020 12:02:34 | 25,200 | 94d6e5cbc6a33158dc80a5221671c41b348f726b | Lock on all active addresses | [
{
"change_type": "MODIFY",
"old_path": "internal/storage/broadcast_storage.go",
"new_path": "internal/storage/broadcast_storage.go",
"diff": "@@ -420,7 +420,7 @@ func (b *BroadcastStorage) broadcastPending(ctx context.Context) error {\nreturn nil\n}\n-// LockedAddresses returns all addresses current... | Go | Apache License 2.0 | coinbase/rosetta-cli | Lock on all active addresses |
127,814 | 27.07.2020 12:49:55 | 25,200 | 9889c8f0fc176d0bcfdd14d1fc6bbf3dde3a6a56 | First pass at using balance storage for sender balance | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -51,6 +51,7 @@ const (\nDefaultStaleDepth = 30\nDefaultBroadcastLimit = 3\nDefaultBroadcastTrailLimit = 3\n+ DefaultBlockBroadcastLimit = 5\n// ETH Defaults\nEthereumIDB... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at using balance storage for sender balance |
127,814 | 27.07.2020 14:51:48 | 25,200 | 93c39f8be2c937ac4acdde6e87589ba6923458f3 | Add example configurations for bitcoin and ethereum | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "examples/bitcoin.json",
"diff": "+{\n+ \"network\": {\n+ \"blockchain\": \"Bitcoin\",\n+ \"network\": \"Testnet3\"\n+ },\n+ \"online_url\": \"http://localhost:8080\",\n+ \"data_directory\": \"bitcoin-data\",\n+ \"http_timeout\": 10,\n+ \"constru... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add example configurations for bitcoin and ethereum |
127,814 | 27.07.2020 14:56:39 | 25,200 | 79f832757e40cb97069fefcecae8e91d21477aa1 | Change view:network to view:networks | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -50,7 +50,7 @@ Available Commands:\nversion Print rosetta-cli version\nview:account View an account balance\nview:block View a block\n- view:network View network status\n+ view:networks View all network statuses... | Go | Apache License 2.0 | coinbase/rosetta-cli | Change view:network to view:networks |
127,814 | 27.07.2020 15:09:58 | 25,200 | 34376f45791217b82509f97d33e042933bd69d03 | Add comments to tester | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -83,6 +83,7 @@ func (t *ConstructionTester) StartPeriodicLogger(\nreturn ctx.Err()\n}\n+// InitializeConstruction initiates the construction API tester.\nfunc Initiali... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add comments to tester |
127,814 | 27.07.2020 15:52:13 | 25,200 | ef12901d505ceb39eaf293995121da8fc7da26e4 | Fix block broadcast limit bug | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_construction.go",
"new_path": "cmd/check_construction.go",
"diff": "@@ -72,6 +72,10 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\ndefer constructionTester.CloseDatabase(ctx)\n+ if err := constructionTester.PerformBroadcasts(ct... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix block broadcast limit bug |
127,814 | 27.07.2020 16:01:18 | 25,200 | d95c8cb746ad2692381022e4adab3a15b76ea98e | Add interesting only mode to balance storage helper initialization | [
{
"change_type": "MODIFY",
"old_path": "internal/processor/balance_storage_helper.go",
"new_path": "internal/processor/balance_storage_helper.go",
"diff": "@@ -17,7 +17,6 @@ package processor\nimport (\n\"context\"\n\"fmt\"\n- \"log\"\n\"github.com/coinbase/rosetta-cli/internal/storage\"\n@@ -51,6 +... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add interesting only mode to balance storage helper initialization |
127,814 | 27.07.2020 16:47:16 | 25,200 | 48bdb70ccca380e63311c97b93e1854db6a450c3 | Fix scientific notation printing | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -696,6 +696,7 @@ func (t *ConstructionTester) LogTransaction(\ntransactionIdentifier *types.TransactionIdentifier,\n) {\ndivisor := utils.BigPow10(t.config.Constructio... | Go | Apache License 2.0 | coinbase/rosetta-cli | Fix scientific notation printing |
127,814 | 27.07.2020 17:44:17 | 25,200 | 2e7b61e3513de37dcff2ea7f70894a42f5044c51 | Add max address option | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -53,6 +53,7 @@ const (\nDefaultBroadcastTrailLimit = 3\nDefaultBlockBroadcastLimit = 5\nDefaultNewAccountProbability = 0.5\n+ DefaultMaxAddresses = 200\n// ETH Defaults\... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add max address option |
127,814 | 27.07.2020 18:20:57 | 25,200 | 8ee8f3a3739ae0a4f5862a0eee330b001dcff9a3 | Refactor change to be an operation we can add | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -165,10 +165,12 @@ type ConstructionConfiguration struct {\n// are broadcast failures (that surpass the BroadcastLimit).\nIgnoreBroadcastFailures bool `json:\"ignore_bro... | Go | Apache License 2.0 | coinbase/rosetta-cli | Refactor change to be an operation we can add |
127,814 | 27.07.2020 19:15:36 | 25,200 | 1fd1e6b6e40f3ba106c7bb8b9439af051673eeb9 | Cleanup construction amount code prior to testing | [
{
"change_type": "MODIFY",
"old_path": "examples/bitcoin.json",
"new_path": "examples/bitcoin.json",
"diff": "},\n\"online_url\": \"http://localhost:8080\",\n\"data_directory\": \"bitcoin-data\",\n- \"http_timeout\": 10,\n+ \"http_timeout\": 300,\n\"construction\": {\n\"offline_url\": \"http://local... | Go | Apache License 2.0 | coinbase/rosetta-cli | Cleanup construction amount code prior to testing |
127,814 | 27.07.2020 19:25:54 | 25,200 | 4137d57f5ef8b9a42aa0b8c6ba7bad4d6ccdb9f8 | Add assertions for created transfers | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -704,6 +704,23 @@ func (t *ConstructionTester) CreateScenarioContext(\nreturn nil, nil, fmt.Errorf(\"invalid accounting model %s\", t.config.Construction.AccountingMod... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add assertions for created transfers |
127,814 | 27.07.2020 19:41:46 | 25,200 | 0b564b80f93336ed6a3b71083263fd5f53a6c6df | Cleanup logging code | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -403,12 +403,12 @@ func (t *ConstructionTester) RequestFunds(\n}\nif sendableBalance != nil {\n- log.Printf(\"found sendable balance %s on %s\\n\", sendableBalance.Str... | Go | Apache License 2.0 | coinbase/rosetta-cli | Cleanup logging code |
127,814 | 27.07.2020 20:58:16 | 25,200 | 308cf0093313bf49de8386873fa41cf3a4784bf9 | pseudo code for core loop refactor | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -788,6 +788,15 @@ func (t *ConstructionTester) CreateTransactions(ctx context.Context) error {\n}\nfor ctx.Err() == nil {\n+ // Get largest balance\n+ // If none exist... | Go | Apache License 2.0 | coinbase/rosetta-cli | pseudo code for core loop refactor |
127,814 | 27.07.2020 22:45:30 | 25,200 | 22eb4e6d6d415d9798b0a8a3f411972d2369e690 | First pass at refactor | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -426,6 +426,9 @@ const (\n// UTXO-based actions\nChangeSend Action = \"change-send\"\nFullSend Action = \"full-send\"\n+\n+ // Not enough funds to perform any action\n... | Go | Apache License 2.0 | coinbase/rosetta-cli | First pass at refactor |
127,814 | 27.07.2020 23:50:01 | 25,200 | 3e8d292e832dbde43a9f27bc93c6313750e72044 | Keep cleaning | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -52,6 +52,10 @@ const (\ndefaultSleepTime = 10\n)\n+var (\n+ ErrInsufficientFunds = errors.New(\"insufficient funds\")\n+)\n+\n// ConstructionTester coordinates the `c... | Go | Apache License 2.0 | coinbase/rosetta-cli | Keep cleaning |
127,814 | 28.07.2020 08:52:04 | 25,200 | 0c51b16fb48f5f047363cede2b24407a60f44f74 | Cleanup distinction between public and private functions | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -240,8 +240,8 @@ func InitializeConstruction(\n}, nil\n}\n-// CreateTransaction constructs and signs a transaction with the provided intent.\n-func (t *ConstructionTes... | Go | Apache License 2.0 | coinbase/rosetta-cli | Cleanup distinction between public and private functions |
127,814 | 28.07.2020 09:16:17 | 25,200 | e340260c0c58851034abdf7846a2f86c8735c567 | Remove functions from main loop | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -165,12 +165,12 @@ type ConstructionConfiguration struct {\n// are broadcast failures (that surpass the BroadcastLimit).\nIgnoreBroadcastFailures bool `json:\"ignore_bro... | Go | Apache License 2.0 | coinbase/rosetta-cli | Remove functions from main loop |
127,814 | 28.07.2020 09:36:39 | 25,200 | d76c397b6d9d1b564fd29c602a18fb8eadb5cf0d | Add a default configuration file | [
{
"change_type": "RENAME",
"old_path": "examples/bitcoin.json",
"new_path": "examples/configuration/bitcoin.json",
"diff": "\"blockchain\": \"Bitcoin\",\n\"network\": \"Testnet3\"\n},\n- \"online_url\": \"http://localhost:8080\",\n\"data_directory\": \"bitcoin-data\",\n\"http_timeout\": 300,\n\"cons... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add a default configuration file |
127,814 | 28.07.2020 09:44:56 | 25,200 | 73dc626a0b222881ac84642f88103fccfda5b42a | Break out common functions to utils | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -822,24 +822,6 @@ func (t *ConstructionTester) canGetNewAddress(\nreturn recipients[0], false, nil\n}\n-func getRandomAmount(minimum *big.Int, lessThan *big.Int) *big.... | Go | Apache License 2.0 | coinbase/rosetta-cli | Break out common functions to utils |
127,814 | 28.07.2020 09:51:43 | 25,200 | c701b0e49b509bf1715d783b4184ace14aeaf124 | Move log scenario to logger | [
{
"change_type": "MODIFY",
"old_path": "internal/logger/logger.go",
"new_path": "internal/logger/logger.go",
"diff": "@@ -22,6 +22,7 @@ import (\n\"os\"\n\"path\"\n+ \"github.com/coinbase/rosetta-cli/internal/scenario\"\n\"github.com/coinbase/rosetta-cli/internal/storage\"\n\"github.com/coinbase/ros... | Go | Apache License 2.0 | coinbase/rosetta-cli | Move log scenario to logger |
127,814 | 28.07.2020 09:57:25 | 25,200 | 6f76f1fa9bbfd1c4997f839b201aef66584a523c | Reorganize construction test file | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -43,6 +43,11 @@ func init() {\nrand.Seed(time.Now().UTC().UnixNano())\n}\n+// action is some supported intent we can\n+// perform. This is used to determine the minimu... | Go | Apache License 2.0 | coinbase/rosetta-cli | Reorganize construction test file |
127,814 | 28.07.2020 11:52:32 | 25,200 | 1726abb0f1a6ac92069fa5a773a15c5593396bcc | Move concurrency to base config | [
{
"change_type": "MODIFY",
"old_path": "cmd/check_construction.go",
"new_path": "cmd/check_construction.go",
"diff": "@@ -43,8 +43,8 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher := fetcher.New(\nConfig.OnlineURL,\n- fetcher.WithBlockConcurrency(Config.Data.BlockConcu... | Go | Apache License 2.0 | coinbase/rosetta-cli | Move concurrency to base config |
127,814 | 28.07.2020 12:58:44 | 25,200 | 22ac254cdfdaef6c6544ccf14d744e145c51bb0e | Change tip definition to be time based | [
{
"change_type": "MODIFY",
"old_path": "configuration/configuration.go",
"new_path": "configuration/configuration.go",
"diff": "@@ -50,7 +50,7 @@ const (\nDefaultConfirmationDepth = 10\nDefaultStaleDepth = 30\nDefaultBroadcastLimit = 3\n- DefaultBroadcastTrailLimit = 3\n+ DefaultTipDelay = 300\nDefa... | Go | Apache License 2.0 | coinbase/rosetta-cli | Change tip definition to be time based |
127,814 | 28.07.2020 13:27:32 | 25,200 | e48bc95ca39a5f4aff8a629516f1a6a95ab6218a | Add more utils tests | [
{
"change_type": "MODIFY",
"old_path": "internal/tester/construction.go",
"new_path": "internal/tester/construction.go",
"diff": "@@ -912,7 +912,7 @@ func (t *ConstructionTester) generateAccountScenario(\n}\nif created || utils.ContainsString(belowMinimumRecipients, recipient) {\n- recipientValue :=... | Go | Apache License 2.0 | coinbase/rosetta-cli | Add more utils tests |
127,814 | 28.07.2020 16:03:24 | 25,200 | 41acbc14848d6c9f8537d13a006f03fc3222fe9e | Start constructor refactor | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "internal/constructor/constructor.go",
"diff": "+package constructor\n+\n+import (\n+ \"context\"\n+ \"errors\"\n+ \"fmt\"\n+ \"math/big\"\n+ \"math/rand\"\n+ \"time\"\n+\n+ \"github.com/coinbase/rosetta-cli/configuration\"\n+ \"github.com/coinba... | Go | Apache License 2.0 | coinbase/rosetta-cli | Start constructor refactor |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.