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
25.08.2020 14:00:11
25,200
20af7017e467a01264b23623dab96cb8d0871a37
Remove default for construction
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -54,6 +54,10 @@ arbitrary scenarios (i.e. staking, governance).`,\n)\nfunc runCheckConstructionCmd(cmd *cobra.Command, args []string) {\n+ if Config.Construction == nil {\n+ log.F...
Go
Apache License 2.0
coinbase/rosetta-cli
Remove default for construction
127,814
25.08.2020 14:03:44
25,200
8e5cbf8a459fdadf9468fb487bfdc35b2807f1be
Validate configuration files in tests
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -29,7 +29,15 @@ format:\ncheck-format:\n! gofmt -s -l . | read;\n-test:\n+validate-configuration-files:\n+ go run main.go configuration:validate examples/configuration/bitcoin.json;\n+ go run main.go configuration...
Go
Apache License 2.0
coinbase/rosetta-cli
Validate configuration files in tests
127,814
25.08.2020 18:22:04
25,200
1b8fa34c087050d4eefbf5e86b085b45fc9bf1b1
Get transaction landed
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200825203604-1e6ee29e1d18\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200826011303-e311283c...
Go
Apache License 2.0
coinbase/rosetta-cli
Get transaction landed
127,814
25.08.2020 18:56:48
25,200
cd63f96bec6a3fb1fbcbc48616c0d2db5507edc9
Landed on-chain
[ { "change_type": "MODIFY", "old_path": "examples/configuration/ethereum.json", "new_path": "examples/configuration/ethereum.json", "diff": "\"blockchain\": \"Ethereum\",\n\"network\": \"Ropsten\"\n},\n- \"data_directory\": \"eth-data\",\n+ \"online_url\": \"\",\n+ \"data_directory\": \"\",\n\"http_t...
Go
Apache License 2.0
coinbase/rosetta-cli
Landed on-chain
127,814
26.08.2020 10:41:57
25,200
a06c7cd0b3f3660117da50010652c62e8529eb4d
Ethereum working
[ { "change_type": "MODIFY", "old_path": "examples/configuration/ethereum.json", "new_path": "examples/configuration/ethereum.json", "diff": "\"output_path\": \"currency\"\n},\n{\n- \"input\": \"{\\\"minimum_balance\\\":{\\\"value\\\": \\\"0\\\", \\\"currency\\\": {{currency}}}, \\\"create\\\":1}\",\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Ethereum working
127,814
01.09.2020 08:38:29
25,200
3af328ac6f59f6ced9d9fb8b0d8ffb5d373372f2
First pass at construction end conditions
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -79,9 +79,6 @@ var (\n}\n)\n-// TODO: Add support for sophisticated end conditions\n-// (https://github.com/coinbase/rosetta-cli/issues/66)\n-\n// ConstructionConfigurat...
Go
Apache License 2.0
coinbase/rosetta-cli
First pass at construction end conditions
127,814
01.09.2020 09:00:44
25,200
6b8075de98de0ab80e1db35ce4f57abe1b56de6c
Integrate end conditions into cmd/construction
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -16,15 +16,14 @@ package cmd\nimport (\n\"context\"\n+ \"fmt\"\n\"log\"\n- \"os\"\n\"time\"\n\"github.com/coinbase/rosetta-cli/pkg/tester\"\n\"github.com/coinbase/rosetta-sdk-go/f...
Go
Apache License 2.0
coinbase/rosetta-cli
Integrate end conditions into cmd/construction
127,814
01.09.2020 09:25:17
25,200
b8828fbd2de84466f6b274dc8f1ea2f6591dd975
Add end conditions to ethereum example
[ { "change_type": "MODIFY", "old_path": "examples/configuration/ethereum.json", "new_path": "examples/configuration/ethereum.json", "diff": "\"broadcast_behind_tip\": false,\n\"block_broadcast_limit\": 0,\n\"rebroadcast_all\": false,\n- \"prefunded_accounts\": null,\n\"workflows\": [\n{\n\"name\": \"...
Go
Apache License 2.0
coinbase/rosetta-cli
Add end conditions to ethereum example
127,814
01.09.2020 10:34:25
25,200
3db2b801fd1e4d70c2aaa724c39bcf3f14896ee1
Validate bitcoin example
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -30,6 +30,7 @@ check-format:\n! gofmt -s -l . | read;\nvalidate-configuration-files:\n+ go run main.go configuration:validate examples/configuration/bitcoin.json;\ngo run main.go configuration:validate examples/co...
Go
Apache License 2.0
coinbase/rosetta-cli
Validate bitcoin example
127,814
01.09.2020 11:14:48
25,200
e4cdcd80379e31b26b7df4a64792b2daecf68fb1
Add change example to bitcoin
[ { "change_type": "MODIFY", "old_path": "examples/configuration/bitcoin.json", "new_path": "examples/configuration/bitcoin.json", "diff": "\"data_directory\": \"bitcoin-data\",\n\"http_timeout\": 300,\n\"retry_elapsed_time\": 0,\n- \"sync_concurrency\": 128,\n+ \"sync_concurrency\": 0,\n\"transaction...
Go
Apache License 2.0
coinbase/rosetta-cli
Add change example to bitcoin
127,814
01.09.2020 13:59:38
25,200
2157b96e2c3a741e1354c5f57395017a13f003e2
Update to new fetcher initialization
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -67,7 +67,7 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher.WithTimeout(time.Duration(Config.HTTPTimeout)*time.Second),\n)\n- _, _, fetchErr := fetch...
Go
Apache License 2.0
coinbase/rosetta-cli
Update to new fetcher initialization
127,814
01.09.2020 19:21:59
25,200
635d467be3c74c3438ab4c5ad7012211c410303f
First stab at install script
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -58,7 +58,7 @@ salus:\nrelease: add-license shorten-lines format test lint salus\ncompile:\n- xgo --targets=darwin/*,windows/*,linux/* -out bin/rosetta-cli-$(version) .\n+ ./scripts/compile.sh $(version)\nbuild:\n...
Go
Apache License 2.0
coinbase/rosetta-cli
First stab at install script
127,844
02.09.2020 14:15:22
25,200
2b5aceab344a8dfc05389e8acdb98d8bf713029f
Update readme to remove install from srouce
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -29,16 +29,13 @@ Before diving into the CLI, we recommend taking a look at the Rosetta API Docs:\n* [Construction API](https://www.rosetta-api.org/docs/construction_api_introduction.html)\n## Install\n-To instal...
Go
Apache License 2.0
coinbase/rosetta-cli
Update readme to remove install from srouce
127,814
11.09.2020 09:50:14
25,200
10971ba1c1f10ddd2f88961f369b8838b7f546bd
Update scripts to use a particular go version on compilation
[ { "change_type": "MODIFY", "old_path": "scripts/compile.sh", "new_path": "scripts/compile.sh", "diff": "VERSION=$1;\n-xgo --targets=darwin/*,windows/*,linux/* -out \"bin/rosetta-cli-${VERSION}\" .;\n+xgo -go go-1.15.2 --targets=darwin/*,windows/*,linux/* -out \"bin/rosetta-cli-${VERSION}\" .;\n# Ren...
Go
Apache License 2.0
coinbase/rosetta-cli
Update scripts to use a particular go version on compilation
127,814
11.09.2020 10:12:47
25,200
5be6302428cbb91c7a354229f911a3cca53f35b9
Fix coordinator helper
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -62,7 +62,7 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher := fetcher.New(\nConfig.OnlineURL,\n- fetcher.WithTransactionConcurrency(Config.Transacti...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix coordinator helper
127,814
11.09.2020 10:27:01
25,200
222c8f2080a2d232f822bb34f04f6a9cd8af8fe0
Update check data results
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -31,6 +31,7 @@ import (\n\"github.com/coinbase/rosetta-sdk-go/parser\"\n\"github.com/coinbase/rosetta-sdk-go/statefulsyncer\"\n\"github.com/coinbase/rosetta-sdk-go/storage\"\n+ ...
Go
Apache License 2.0
coinbase/rosetta-cli
Update check data results
127,814
11.09.2020 10:57:49
25,200
6a7bef220df7d500e1a593c0102866e19e30a729
use tiny cache for tests
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results_test.go", "new_path": "pkg/tester/data_results_test.go", "diff": "@@ -306,7 +306,11 @@ func TestComputeCheckDataResults(t *testing.T) {\nassert.NoError(t, err)\nctx := context.Background()\n- localStore, err := storage.NewBadgerStorage(...
Go
Apache License 2.0
coinbase/rosetta-cli
use tiny cache for tests
127,822
11.09.2020 17:32:53
25,200
38dccdb1854338ab08a17aa59bbdc452e992ae00
updated error handling and fixed tests
[ { "change_type": "MODIFY", "old_path": "go.sum", "new_path": "go.sum", "diff": "@@ -352,6 +352,7 @@ github.com/rs/xhandler v0.0.0-20160618193221-ed27b6fd6521/go.mod h1:RvLn4FgxWubr\ngithub.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=\ngithub.com/russross/bla...
Go
Apache License 2.0
coinbase/rosetta-cli
updated error handling and fixed tests
127,814
11.09.2020 18:30:27
25,200
936f5937f4d48314441169f54c759f42e9a673f6
Infer historical balance lookup
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -230,11 +230,11 @@ type DataConfiguration struct {\n// it will be ignored.\nBootstrapBalances string `json:\"bootstrap_balances\"`\n- // HistoricalBalanceDisabled is a b...
Go
Apache License 2.0
coinbase/rosetta-cli
Infer historical balance lookup
127,814
14.09.2020 07:39:15
25,200
c564e63f8a5175292e4940b68a7842a0f7a07d45
Upgrade to new rosetta-sdk-go release
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.4.2-0.20200912010944-f7d13f597014\n+ github.com/coinbase/rosetta-sdk-go v0.4.2\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Upgrade to new rosetta-sdk-go release
127,814
14.09.2020 08:17:19
25,200
dd5277e3343e9d638a7e4f2b39f6d1578d6c24f0
Add more errors to request response
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results.go", "new_path": "pkg/tester/data_results.go", "diff": "@@ -284,7 +284,10 @@ func (c *CheckDataTests) Print() {\n// indicating if all endpoints received\n// a non-500 response.\nfunc RequestResponseTest(err error) bool {\n- return !(fet...
Go
Apache License 2.0
coinbase/rosetta-cli
Add more errors to request response
127,814
14.09.2020 10:34:31
25,200
2766be4eef7f1d7958d2ffc6fcbeff9cf414e285
[Fetcher] handle transient errors
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.4.2\n+ github.com/coinbase/rosetta-sdk-go v0.4.3-0.20200914173330-69c73d3ff87a\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
[Fetcher] handle transient errors
127,814
14.09.2020 11:09:50
25,200
657483b103c556432a48117d52d48d4f527ef6ff
Update README with new config option
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -140,9 +140,9 @@ issues but it is highly recommended you sync from start to finish to ensure\nall correctness checks are performed.\nBy default, account balances are looked up at specific heights (instead of\n-o...
Go
Apache License 2.0
coinbase/rosetta-cli
Update README with new config option
127,814
15.09.2020 15:25:41
25,200
3334043abc9e0571ac777c470656efbd2e6d207d
Support max retries
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -54,7 +54,7 @@ const (\nconst (\nDefaultURL = \"http://localhost:8080\"\nDefaultTimeout = 10\n- DefaultRetryElapsedTime = 60\n+ DefaultMaxRetries = 5\nDefaultMaxOnlineCo...
Go
Apache License 2.0
coinbase/rosetta-cli
Support max retries
127,814
15.09.2020 15:33:21
25,200
b98c14ab59ceb1f3de2b9023a7793d034b3a075f
Ensure max retries is populated
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -65,6 +65,7 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher.WithMaxConnections(Config.MaxOnlineConnections),\nfetcher.WithRetryElapsedTime(time.Durat...
Go
Apache License 2.0
coinbase/rosetta-cli
Ensure max retries is populated
127,814
15.09.2020 16:16:46
25,200
319eafa7fd50857f37ca1b8ba4d9e61283a545b4
Invoke return funds if exit conditions are met
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.4.3-0.20200914180457-7d3458f14c0f\n+ github.com/coinbase/rosetta-sdk-go v0.4.3\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Invoke return funds if exit conditions are met
127,814
15.09.2020 18:00:50
25,200
b1b50c8e32e1936d9b40dd2ee7890f6987bc01ac
Add returnFunds function and update ETH example
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -132,8 +132,8 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\n})\nsigListeners := []context.CancelFunc{cancel}\n- go handleSignals(sigListeners)\n+ go handle...
Go
Apache License 2.0
coinbase/rosetta-cli
Add returnFunds function and update ETH example
127,814
15.09.2020 18:21:21
25,200
f0473323ae0e92c9ea7f38807bf03b395d5a127e
Add dry run on Bitcoin
[ { "change_type": "MODIFY", "old_path": "examples/configuration/bitcoin.json", "new_path": "examples/configuration/bitcoin.json", "diff": "\"blockchain\": \"Bitcoin\",\n\"network\": \"Testnet3\"\n},\n- \"online_url\": \"\",\n\"data_directory\": \"bitcoin-data\",\n\"http_timeout\": 300,\n+ \"max_retri...
Go
Apache License 2.0
coinbase/rosetta-cli
Add dry run on Bitcoin
127,814
15.09.2020 21:54:56
25,200
f3254b708dbea283d60d85f36473aa894e2882ae
Add return funds for bitcoin
[ { "change_type": "MODIFY", "old_path": "examples/configuration/bitcoin.json", "new_path": "examples/configuration/bitcoin.json", "diff": "\"type\": \"math\",\n\"output_path\": \"change_amount\"\n},\n+ {\n+ \"input\": \"{\\\"operation\\\":\\\"subtraction\\\", \\\"left_value\\\": {{change_amount}}, \\...
Go
Apache License 2.0
coinbase/rosetta-cli
Add return funds for bitcoin
127,814
16.09.2020 08:53:43
25,200
60ac1e9c80b38de7827fcd81c6b61ed4509a8e6f
Exit recursive op search if reach genesis
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -676,10 +676,14 @@ func (t *DataTester) recursiveOpSearch(\n}\nif *t.signalReceived {\n- return nil, errors.New(\"Search for block with missing ops halted\")\n+ return nil, errors.New(\"search ...
Go
Apache License 2.0
coinbase/rosetta-cli
Exit recursive op search if reach genesis
127,814
18.09.2020 15:02:06
25,200
34c1d1639fb05ae288bd23826ff022401e53c5ef
Skeleton for pruning
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -133,6 +133,11 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nreturn dataTester.StartSyncing(ctx)\n})\n+ g.Go(func() error {\n+ // TODO: make optional\n+ return dataTester.StartPru...
Go
Apache License 2.0
coinbase/rosetta-cli
Skeleton for pruning
127,814
22.09.2020 09:18:12
25,200
de03a5a69cd6733723b9d5f5584f2cb7e9188271
Add pruning config
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -134,7 +134,10 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\n})\ng.Go(func() error {\n- // TODO: make optional\n+ if Config.Data.PruningDisabled {\n+ return nil\n+ }\n+\nreturn da...
Go
Apache License 2.0
coinbase/rosetta-cli
Add pruning config
127,814
28.09.2020 22:25:57
25,200
eb44e8a9602dd6b380f8742608f2b40bb885a2c0
Log processed blocks per second
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -34,6 +34,9 @@ import (\nvar _ statefulsyncer.Logger = (*Logger)(nil)\nconst (\n+ // TimeElapsedCounter tracks the total time elapsed in seconds.\n+ TimeElapsedCounter = \"time_elapsed\"\n+...
Go
Apache License 2.0
coinbase/rosetta-cli
Log processed blocks per second
127,814
28.09.2020 23:13:24
25,200
fb5486c518edf3055e2298a0bb7165faef817943
Wait to sync until reaching tip
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -44,6 +44,7 @@ const (\nconstructionCmdName = \"check-construction\"\nendConditionsCheckInterval = 10 * time.Second\n+ tipWaitInterval = 10 * time.Second\n)\n// ConstructionTest...
Go
Apache License 2.0
coinbase/rosetta-cli
Wait to sync until reaching tip
127,814
29.09.2020 09:43:45
25,200
f330eedbe561bf0b96e2f39bcf7dc6581cef2d7e
Update to v0.4.8
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.4.7\n+ github.com/coinbase/rosetta-sdk-go v0.4.8\ngithub.com/fatih/color v1.9.0\ngithub.com/jinzhu/copie...
Go
Apache License 2.0
coinbase/rosetta-cli
Update to v0.4.8
127,814
29.09.2020 10:04:40
25,200
6af5313903effc342e1f09597ea06bd5964e3671
Log memory usage info
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -131,6 +131,10 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nreturn constructionTester.WatchEndConditions(ctx)\n})\n+ g.Go(func() error {\n+ return tester....
Go
Apache License 2.0
coinbase/rosetta-cli
Log memory usage info
127,814
29.09.2020 10:31:04
25,200
aa37ee4afccf80b32348f755694096ab01489fb0
Add progress logger
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -145,6 +145,10 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nreturn tester.LogMemoryLoop(ctx)\n})\n+ g.Go(func() error {\n+ return dataTester.StartProgressLogger(ctx)\n+ })\n+\nsi...
Go
Apache License 2.0
coinbase/rosetta-cli
Add progress logger
127,814
29.09.2020 10:57:47
25,200
256234213f8e7a49df116476a3e96d7a260dbecd
Don't wait for first tick
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -284,8 +284,31 @@ func (t *ConstructionTester) StartPeriodicLogger(\n}\n}\n+func (t *ConstructionTester) checkTip(ctx context.Context) (int64, error) {\n+ status, fetchErr := t....
Go
Apache License 2.0
coinbase/rosetta-cli
Don't wait for first tick
127,814
29.09.2020 15:28:27
25,200
bf1892bdee36bcd071b30617e4c0a765a48d2333
Start work on status endpoint data
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -135,6 +135,11 @@ type ConstructionConfiguration struct {\n// workflows should be performed before stopping.\nEndConditions map[string]int `json:\"end_conditions,omitemp...
Go
Apache License 2.0
coinbase/rosetta-cli
Start work on status endpoint data
127,814
29.09.2020 15:42:31
25,200
4a3502d050a9c93f5a782474dba20dfd0cd608e7
Set default status port
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -66,6 +66,7 @@ const (\nDefaultBroadcastLimit = 3\nDefaultTipDelay = 300\nDefaultBlockBroadcastLimit = 5\n+ DefaultStatusPort = 9090\n// ETH Defaults\nEthereumIDBlockcha...
Go
Apache License 2.0
coinbase/rosetta-cli
Set default status port
127,814
29.09.2020 17:20:30
25,200
e210c5a29b8fd4a91ec83b7b0783792fef5b4eeb
Ugly first pass at status endpoint
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -149,6 +149,10 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nreturn dataTester.StartProgressLogger(ctx)\n})\n+ g.Go(func() error {\n+ return dataTester.StartStatusEndpoint(ctx)\n+...
Go
Apache License 2.0
coinbase/rosetta-cli
Ugly first pass at status endpoint
127,814
29.09.2020 17:52:03
25,200
7d0c5613eddb19ed8edc04a028860d2d472fb303
First pass at starting cleanup
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -150,7 +150,12 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\n})\ng.Go(func() error {\n- return dataTester.StartStatusEndpoint(ctx)\n+ return tester.StartServer(\n+ ctx,\n+ \"check...
Go
Apache License 2.0
coinbase/rosetta-cli
First pass at starting cleanup
127,814
29.09.2020 17:59:01
25,200
6cfca074b03ad07f90a2548ed34ef4c79288a717
Continue cleaning up abstraction
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -135,6 +135,15 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nreturn tester.LogMemoryLoop(ctx)\n})\n+ g.Go(func() error {\n+ return tester.StartServer(\n+ c...
Go
Apache License 2.0
coinbase/rosetta-cli
Continue cleaning up abstraction
127,814
29.09.2020 21:09:32
25,200
64fec0e5cd3ace6e8621c1b8364fd9dff19deb11
Cleanup results
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -20,6 +20,7 @@ import (\n\"log\"\n\"time\"\n+ \"github.com/coinbase/rosetta-cli/pkg/results\"\n\"github.com/coinbase/rosetta-cli/pkg/tester\"\n\"github.com/coinbase/rosetta-sdk-go...
Go
Apache License 2.0
coinbase/rosetta-cli
Cleanup results
127,814
29.09.2020 21:39:03
25,200
3ad39a56d82128d8be9aa438fe34980cb0fd0356
Cleanup logger
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -18,14 +18,14 @@ import (\n\"context\"\n\"fmt\"\n\"log\"\n- \"math/big\"\n\"os\"\n\"path\"\n+ \"github.com/coinbase/rosetta-cli/pkg/results\"\n+\n\"github.com/coinbase/rosetta-sdk-go/parser...
Go
Apache License 2.0
coinbase/rosetta-cli
Cleanup logger
127,814
29.09.2020 22:20:16
25,200
7b448d5e5901abae080114062bf8bc6cf0bdd95f
Add test for JSON fetch client
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -12,7 +12,7 @@ ADDLICENCE_SCRIPT=${ADDLICENSE_CMD} -c \"Coinbase, Inc.\" -l \"apache\" -v\nGOLINES_CMD=go run github.com/segmentio/golines\nGOVERALLS_CMD=go run github.com/mattn/goveralls\nCOVERAGE_TEST_DIRECTORIE...
Go
Apache License 2.0
coinbase/rosetta-cli
Add test for JSON fetch client
127,814
29.09.2020 22:25:49
25,200
9a0ba88b973d31b033e6c0afbda933f236ebca09
Finish tests for utils
[ { "change_type": "MODIFY", "old_path": "pkg/results/utils_test.go", "new_path": "pkg/results/utils_test.go", "diff": "@@ -15,7 +15,7 @@ func TestJSONFetch(t *testing.T) {\nbody string\nexpectedResult map[string]interface{}\n- expectedError error\n+ expectedError string\n}{\n\"simple 200\": {\nstatus...
Go
Apache License 2.0
coinbase/rosetta-cli
Finish tests for utils
127,814
30.09.2020 16:14:31
25,200
47364865dbc4a1e6c9b4226bf164d5bd3cb7341e
Optionally, print all requests and responses to the Construction API
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -144,6 +144,10 @@ type ConstructionConfiguration struct {\n// ResultsOutputFile is the absolute filepath of where to save\n// the results of a check:construction run.\nR...
Go
Apache License 2.0
coinbase/rosetta-cli
Optionally, print all requests and responses to the Construction API
127,814
30.09.2020 16:42:02
25,200
dbc3a6479ebe28a2991be96cf77094063a00ac1b
Add args to output
[ { "change_type": "MODIFY", "old_path": "pkg/processor/coordinator_helper.go", "new_path": "pkg/processor/coordinator_helper.go", "diff": "@@ -41,6 +41,16 @@ const (\nconstructionCombine = \"/construction/combine\"\nconstructionHash = \"/construction/hash\"\nconstructionSubmit = \"/construction/submi...
Go
Apache License 2.0
coinbase/rosetta-cli
Add args to output
127,835
01.10.2020 10:42:34
10,800
fef9e411f4ad5de174f0795e2b0d4290e7066d88
logger: Fix possible panic after completion After completing check:data, the Progress field for the current status may be nil, so the old code could panic.
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -115,6 +115,11 @@ func (l *Logger) LogDataStatus(ctx context.Context, status *results.CheckDataSta\nl.lastStatsMessage = statsMessage\ncolor.Cyan(statsMessage)\n+ // If Progress is nil, it ...
Go
Apache License 2.0
coinbase/rosetta-cli
logger: Fix possible panic after completion After completing check:data, the Progress field for the current status may be nil, so the old code could panic.
127,814
01.10.2020 10:31:05
25,200
4bdd9f4e9fe166bc3c017e3c2a3dbaa4ea2f3872
Overhaul check:construction error handling
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -16,8 +16,8 @@ package cmd\nimport (\n\"context\"\n+ \"errors\"\n\"fmt\"\n- \"log\"\n\"time\"\n\"github.com/coinbase/rosetta-cli/pkg/results\"\n@@ -49,13 +49,18 @@ Ethereum.\nRigh...
Go
Apache License 2.0
coinbase/rosetta-cli
Overhaul check:construction error handling
127,814
01.10.2020 10:42:29
25,200
38b5bf9696389f2786013280685c0e9a9776e624
Update check data
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -66,11 +66,11 @@ historical balance disabled to true, you must provide an\nabsolute path to a JSON file containing initial balances with the\nbootstrap balance config. You can look at the example...
Go
Apache License 2.0
coinbase/rosetta-cli
Update check data
127,835
01.10.2020 10:34:39
10,800
dbbab14990e78954a97e1ce04bd7d18760846380
cmd: Add --cpu-profile and --mem-profile options This adds options to generate a pprof cpu and memory profiles for the main binary. These options are added directly in the root command instead of the configuration file to allow selective use of profiling when using project-wide configuration files.
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -20,6 +20,8 @@ import (\n\"log\"\n\"os\"\n\"os/signal\"\n+ \"runtime\"\n+ \"runtime/pprof\"\n\"syscall\"\n\"github.com/coinbase/rosetta-cli/configuration\"\n@@ -33,9 +35,12 @@ var (\nrootCmd = &cobra.Command...
Go
Apache License 2.0
coinbase/rosetta-cli
cmd: Add --cpu-profile and --mem-profile options This adds options to generate a pprof cpu and memory profiles for the main binary. These options are added directly in the root command instead of the configuration file to allow selective use of profiling when using project-wide configuration files.
127,814
01.10.2020 12:40:27
25,200
53c30db4b8a3a4042bdb3ab2711709bd3074bf96
Prepare for v0.5.7 release
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -67,7 +67,7 @@ func rootPreRun(*cobra.Command, []string) error {\nf, err := os.Create(cpuProfile)\nif err != nil {\n- return fmt.Errorf(\"unable to create CPU profile file: %v\", err)\n+ return fmt.Errorf(\"...
Go
Apache License 2.0
coinbase/rosetta-cli
Prepare for v0.5.7 release
127,812
02.10.2020 17:10:12
14,400
3cffa62221db0ad77ec2bbc3740f990f86795454
Fix printing of reconciliation coverage percentage
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -104,7 +104,7 @@ func (l *Logger) LogDataStatus(ctx context.Context, status *results.CheckDataSta\nstatus.Stats.Operations,\nstatus.Stats.ActiveReconciliations+status.Stats.InactiveReconcil...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix printing of reconciliation coverage percentage
127,812
02.10.2020 17:21:54
14,400
9a6a75370ac4a757105729b304028521bd7e4c54
Use constant instead of 100
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -104,7 +104,7 @@ func (l *Logger) LogDataStatus(ctx context.Context, status *results.CheckDataSta\nstatus.Stats.Operations,\nstatus.Stats.ActiveReconciliations+status.Stats.InactiveReconcil...
Go
Apache License 2.0
coinbase/rosetta-cli
Use constant instead of 100
127,814
05.10.2020 21:11:53
25,200
b133a88e1c38d827a84795e8dda77119ff35f5aa
Handle reconciliation exempt
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.0\n+ github.com/coinbase/rosetta-sdk-go v0.5.1-0.20201006040540-21c3125fd72d\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Handle reconciliation exempt
127,814
05.10.2020 21:19:17
25,200
96c27ed1b568bfc36f055699537aaddf31b825e6
Track exempt reconciliations in results
[ { "change_type": "MODIFY", "old_path": "pkg/results/data_results.go", "new_path": "pkg/results/data_results.go", "diff": "@@ -96,6 +96,7 @@ type CheckDataStats struct {\nOperations int64 `json:\"operations\"`\nActiveReconciliations int64 `json:\"active_reconciliations\"`\nInactiveReconciliations int...
Go
Apache License 2.0
coinbase/rosetta-cli
Track exempt reconciliations in results
127,814
05.10.2020 21:20:11
25,200
ba14f905b870a61decd07d6bc3b99e9a104e921e
Log exempt reconciliations
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -97,13 +97,14 @@ func (l *Logger) LogDataStatus(ctx context.Context, status *results.CheckDataSta\n}\nstatsMessage := fmt.Sprintf(\n- \"[STATS] Blocks: %d (Orphaned: %d) Transactions: %d Op...
Go
Apache License 2.0
coinbase/rosetta-cli
Log exempt reconciliations
127,814
05.10.2020 21:22:36
25,200
4c829d498b5fe30574785c758065581f80d15d62
Load balance exemptions
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -192,16 +192,16 @@ func InitializeData(\nlog.Fatalf(\"%s: unable to get previously seen accounts\", err.Error())\n}\n- // Determine if we should perform historical balance lookups\n- var histor...
Go
Apache License 2.0
coinbase/rosetta-cli
Load balance exemptions
127,814
05.10.2020 21:49:41
25,200
60495af9bb7ed175b629db1027915c2523b4f322
Add test for non-reserved workflows
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -460,6 +460,16 @@ func assertConstructionConfiguration(ctx context.Context, config *ConstructionCo\nreturn errors.New(\"both workflows and DSL file path are empty\")\n}\...
Go
Apache License 2.0
coinbase/rosetta-cli
Add test for non-reserved workflows
127,814
05.10.2020 22:07:49
25,200
576c729b6fbe3de0fa7513cea5981fb00da72f79
Write rosetta config file
[ { "change_type": "MODIFY", "old_path": "examples/configuration/ethereum.json", "new_path": "examples/configuration/ethereum.json", "diff": "\"broadcast_behind_tip\": false,\n\"block_broadcast_limit\": 0,\n\"rebroadcast_all\": false,\n- \"workflows\": [\n- {\n- \"name\": \"request_funds\",\n- \"concu...
Go
Apache License 2.0
coinbase/rosetta-cli
Write rosetta config file
127,814
05.10.2020 22:21:42
25,200
99c26f12a4ab6a32264b2e0f5e6bb417ebe406f9
Update ethereum example to use ethereum.ros
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -64,7 +64,7 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) error {\n}\nensureDataDirectoryExists()\n- ctx, cancel := context.WithCancel(context.Background())\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Update ethereum example to use ethereum.ros
127,814
06.10.2020 10:27:35
25,200
d8afbed91041132dcce04ba73d4ea125230963cf
Add comments to ethereum.ros
[ { "change_type": "MODIFY", "old_path": "examples/configuration/ethereum.ros", "new_path": "examples/configuration/ethereum.ros", "diff": "@@ -9,6 +9,10 @@ request_funds(1){\n\"create_limit\":1\n});\n},\n+\n+ // Create a separate scenario to request funds so that\n+ // the address we are using to req...
Go
Apache License 2.0
coinbase/rosetta-cli
Add comments to ethereum.ros
127,814
06.10.2020 10:43:35
25,200
b99aaeb64318b40335e268bf3cf3f13f5d055545
Add extra options for reconciliation coverage
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -148,8 +148,39 @@ type ConstructionConfiguration struct {\nQuiet bool `json:\"quiet,omitempty\"`\n}\n+// ReconciliationEndCondition is used to add conditions\n+// to reconciliation cove...
Go
Apache License 2.0
coinbase/rosetta-cli
Add extra options for reconciliation coverage
127,814
06.10.2020 11:14:52
25,200
5f468760b9572c38473a3dc826ad5df7c5291304
Add support for new reconciliation coverage
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -150,6 +150,8 @@ type ConstructionConfiguration struct {\n// ReconciliationCoverage is used to add conditions\n// to reconciliation coverage for exiting `check:data`.\n+// All provided ...
Go
Apache License 2.0
coinbase/rosetta-cli
Add support for new reconciliation coverage
127,814
06.10.2020 11:35:00
25,200
94df856604e6496cc0c3f919175d19cbb8e3ad89
Add note about DSL in README
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -94,6 +94,11 @@ The new Construction API testing framework (first released in `rosetta-cli@v0.5.\na new design pattern to allow for complex transaction construction orchestration.\nYou can read more about the de...
Go
Apache License 2.0
coinbase/rosetta-cli
Add note about DSL in README
127,814
06.10.2020 12:07:00
25,200
2b61b0a8a63f806b7c1e309fce15a9af2c921519
Fix asserter log error
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.1\n+ github.com/coinbase/rosetta-sdk-go v0.5.2-0.20201006190307-bf4606611446\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix asserter log error
127,843
12.10.2020 21:13:49
25,200
1b8b7da29e1cdb4daad6b2869937a1d09fcaa12e
Call online node for Coordinator's Metadata
[ { "change_type": "MODIFY", "old_path": "pkg/processor/coordinator_helper.go", "new_path": "pkg/processor/coordinator_helper.go", "diff": "@@ -204,7 +204,7 @@ func (c *CoordinatorHelper) Metadata(\narg{argMetadata, metadataRequest},\narg{argPublicKeys, publicKeys},\n)\n- metadata, suggestedFee, fetch...
Go
Apache License 2.0
coinbase/rosetta-cli
Call online node for Coordinator's Metadata
127,814
13.10.2020 15:48:32
25,200
8ff28f6283465646e70b19a85f5c70538531333f
Replace node references with live
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -404,27 +404,27 @@ func (l *Logger) ReconcileFailureStream(\naccount *types.AccountIdentifier,\ncurrency *types.Currency,\ncomputedBalance string,\n- nodeBalance string,\n+ liveBalance stri...
Go
Apache License 2.0
coinbase/rosetta-cli
Replace node references with live
127,814
14.10.2020 16:00:35
25,200
2741c6087eb630a31f6e76abcd0043e2983e26e2
Allow for outputing block profiles
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -41,6 +41,7 @@ var (\nconfigurationFile string\ncpuProfile string\nmemProfile string\n+ blockProfile string\n// Config is the populated *configuration.Configuration from\n// the configurationFile. If none is...
Go
Apache License 2.0
coinbase/rosetta-cli
Allow for outputing block profiles
127,814
14.10.2020 17:30:00
25,200
317536673bad8f67edfbb987f2ab445909563f94
Use buffered channels
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.2\n+ github.com/coinbase/rosetta-sdk-go v0.5.3-0.20201015002757-978c228143a3\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Use buffered channels
127,814
14.10.2020 17:41:54
25,200
93fd58187afe2825e9441f2124303379216282fb
Ensure we only exit with reconciliation coverage when reconciler is caught up.
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -469,8 +469,27 @@ func (t *DataTester) EndReconciliationCoverage( // nolint:gocognit\n}\n}\n+ // minIndex is the greater of firstTipIndex\n+ // and reconciliationCoverage.Index\n+ minIndex := f...
Go
Apache License 2.0
coinbase/rosetta-cli
Ensure we only exit with reconciliation coverage when reconciler is caught up.
127,814
15.10.2020 08:51:49
25,200
5abf73cb37acc0783beb01cb31de14c03f22cba5
Log reconciler queue size info
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -122,12 +122,14 @@ func (l *Logger) LogDataStatus(ctx context.Context, status *results.CheckDataSta\n}\nprogressMessage := fmt.Sprintf(\n- \"[PROGRESS] Blocks Synced: %d/%d (Completed: %f%%...
Go
Apache License 2.0
coinbase/rosetta-cli
Log reconciler queue size info
127,814
15.10.2020 11:37:25
25,200
fad742d3794029945414846f1d386c497836cab8
Update rosetta-sdk-go to support dynamic pruning
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.3\n+ github.com/coinbase/rosetta-sdk-go v0.5.4-0.20201015182847-250f7d0adf51\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Update rosetta-sdk-go to support dynamic pruning
127,814
15.10.2020 11:46:27
25,200
a6edb5a586297648e8b7a2866e020d19ae5db8ee
Implement custom pruning
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -64,7 +64,8 @@ const (\nEndAtTipCheckInterval = 10 * time.Second\n)\n-var _ http.Handler = (*ConstructionTester)(nil)\n+var _ http.Handler = (*DataTester)(nil)\n+var _ statefulsyncer.PruneHelpe...
Go
Apache License 2.0
coinbase/rosetta-cli
Implement custom pruning
127,814
15.10.2020 11:55:25
25,200
0a2b0d732ae07d9d1b4e1129ce7abe9a8df80938
Don't print if stats are nil
[ { "change_type": "MODIFY", "old_path": "pkg/results/construction_results.go", "new_path": "pkg/results/construction_results.go", "diff": "@@ -51,9 +51,11 @@ func (c *CheckConstructionResults) Print() {\n}\nfmt.Printf(\"\\n\")\n+ if c.Stats != nil {\nc.Stats.Print()\nfmt.Printf(\"\\n\")\n}\n+}\n// Ou...
Go
Apache License 2.0
coinbase/rosetta-cli
Don't print if stats are nil
127,814
15.10.2020 12:01:41
25,200
2109edf0946159a8c4eef2212676973ffa4ae65d
Support compression disabled
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -341,6 +341,12 @@ type Configuration struct {\n// should be printed to the console when a file is loaded.\nLogConfiguration bool `json:\"log_configuration\"`\n+ // CompressionDisabled c...
Go
Apache License 2.0
coinbase/rosetta-cli
Support compression disabled
127,814
15.10.2020 13:09:20
25,200
2f09bfff782fd26348b69b15c2cc1b77fe195f22
Use new performance mode
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -347,6 +347,11 @@ type Configuration struct {\n// to performance gains.\nCompressionDisabled bool `json:\"compression_disabled\"`\n+ // MemoryLimitDisabled configures storage to increas...
Go
Apache License 2.0
coinbase/rosetta-cli
Use new performance mode
127,814
15.10.2020 13:14:36
25,200
7af59c5c486f846b32a860f335f201726a9d180e
Update default config example
[ { "change_type": "MODIFY", "old_path": "examples/configuration/default.json", "new_path": "examples/configuration/default.json", "diff": "\"max_sync_concurrency\": 64,\n\"tip_delay\": 300,\n\"log_configuration\": false,\n+ \"compression_disabled\": false,\n+ \"memory_limit_disabled\": false,\n\"cons...
Go
Apache License 2.0
coinbase/rosetta-cli
Update default config example
127,814
16.10.2020 09:31:45
25,200
9c540f7f117421062dc9a8f27aadf773b5cd072b
Use canonical block method
[ { "change_type": "MODIFY", "old_path": "go.sum", "new_path": "go.sum", "diff": "@@ -135,6 +135,7 @@ github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.m\ngithub.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=\ngithub.com/et...
Go
Apache License 2.0
coinbase/rosetta-cli
Use canonical block method
127,814
19.10.2020 09:52:31
25,200
537076df0c849bbbe567a36fb28061aa468553cb
Add config to disable reconciliation drain
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -258,6 +258,11 @@ type DataConfiguration struct {\n// some of the more advanced checks to confirm syncing is working as expected.\nReconciliationDisabled bool `json:\"reconciliation_dis...
Go
Apache License 2.0
coinbase/rosetta-cli
Add config to disable reconciliation drain
127,814
19.10.2020 10:39:04
25,200
10909f4b6aacdcd7f92c1dea0f280332ded1efd9
First pass at cleaning up reconciler queue
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -617,6 +617,74 @@ func (t *DataTester) WatchEndConditions(\nreturn nil\n}\n+// EndAtEmptyQueue exits once the active reconciler\n+// queue is empty and all reconciler goroutines are idle.\n+fun...
Go
Apache License 2.0
coinbase/rosetta-cli
First pass at cleaning up reconciler queue
127,814
19.10.2020 10:40:30
25,200
9e7028cc0684c8822f82103ca48cbbe6b4d271c8
Move context initialization
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -157,6 +157,5 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) error {\nsigListeners := []context.CancelFunc{cancel}\ngo handleSignals(&sigListeners)\n- err = g....
Go
Apache License 2.0
coinbase/rosetta-cli
Move context initialization
127,814
19.10.2020 21:15:43
25,200
20240b8116cebb3a657c5312b9c37a4c32f3f38c
Resolve all errors
[ { "change_type": "MODIFY", "old_path": "pkg/processor/balance_storage_helper.go", "new_path": "pkg/processor/balance_storage_helper.go", "diff": "@@ -38,6 +38,7 @@ type BalanceStorageHelper struct {\n// Configuration settings\nlookupBalanceByBlock bool\nexemptAccounts map[string]struct{}\n+ balanceE...
Go
Apache License 2.0
coinbase/rosetta-cli
Resolve all errors
127,814
19.10.2020 21:27:41
25,200
12f880092b447b7ab04b26078a4f62ea87a4779b
Get cli to compile
[ { "change_type": "MODIFY", "old_path": "cmd/view_block.go", "new_path": "cmd/view_block.go", "diff": "@@ -98,7 +98,7 @@ func runViewBlockCmd(cmd *cobra.Command, args []string) error {\n// Print out all balance changes in a given block. This does NOT exempt\n// any operations/accounts from parsing.\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Get cli to compile
127,814
19.10.2020 21:42:30
25,200
a0e325761abfc0690f18cfead24ad4aeea5d5e6e
Add failed reconciliations
[ { "change_type": "MODIFY", "old_path": "pkg/results/data_results.go", "new_path": "pkg/results/data_results.go", "diff": "@@ -494,9 +494,14 @@ func BalanceTrackingTest(cfg *configuration.Configuration, err error, operations\n// if no reconciliation errors were received.\nfunc ReconciliationTest(\ncf...
Go
Apache License 2.0
coinbase/rosetta-cli
Add failed reconciliations
127,814
20.10.2020 10:41:07
25,200
ffb2dca7da5991a3b3ceebb8bd49a04dc36800ab
Count skipped reconciliations
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.6-0.20201020035250-cc90959e74b4\n+ github.com/coinbase/rosetta-sdk-go v0.5.6-0.20201020173919-5019c40f...
Go
Apache License 2.0
coinbase/rosetta-cli
Count skipped reconciliations
127,814
22.10.2020 09:24:54
25,200
803aa8ea9408664e6e7fa6a0ab165ebef8ada349
Add ability to disable prefetch
[ { "change_type": "MODIFY", "old_path": "pkg/processor/balance_storage_helper.go", "new_path": "pkg/processor/balance_storage_helper.go", "diff": "@@ -39,6 +39,7 @@ type BalanceStorageHelper struct {\nlookupBalanceByBlock bool\nexemptAccounts map[string]struct{}\nbalanceExemptions []*types.BalanceExe...
Go
Apache License 2.0
coinbase/rosetta-cli
Add ability to disable prefetch
127,814
22.10.2020 09:36:02
25,200
abc3c6026a8af18681ab454c47c97fd792d5aa8e
Add initial balance fetch disabled to config
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -357,6 +357,15 @@ type Configuration struct {\n// but can use 10s of GBs of RAM, even with pruning enabled.\nMemoryLimitDisabled bool `json:\"memory_limit_disabled\"`\n+ // InitialBalan...
Go
Apache License 2.0
coinbase/rosetta-cli
Add initial balance fetch disabled to config
127,814
22.10.2020 09:46:39
25,200
ce8c6a8313de8237bac63cee5060442b4edb4d16
Split configs
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -247,6 +247,6 @@ var versionCmd = &cobra.Command{\nUse: \"version\",\nShort: \"Print rosetta-cli version\",\nRun: func(cmd *cobra.Command, args []string) {\n- fmt.Println(\"v0.5.15\")\n+ fmt.Println(\"v0.5.1...
Go
Apache License 2.0
coinbase/rosetta-cli
Split configs
127,814
22.10.2020 10:06:02
25,200
2c7b5ddc5347a7f2df21dab46a2ab2e6ce7da2f0
Throw error if balance exemptions > 0 but initial balance fetch is disabled
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -102,6 +102,10 @@ func InitializeConstruction(\nlog.Fatalf(\"%s: unable to get network options\", fetchErr.Err.Error())\n}\n+ if len(networkOptions.Allow.BalanceExemptions) > 0 ...
Go
Apache License 2.0
coinbase/rosetta-cli
Throw error if balance exemptions > 0 but initial balance fetch is disabled
127,814
22.10.2020 17:33:06
25,200
0361e091fdd74963be3f13e01b04437e781f7f97
Optionally, only print balance changes
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -62,6 +62,10 @@ var (\n// blockProfileCleanup is called after the root command is executed to\n// cleanup a running block profile.\nblockProfileCleanup func()\n+\n+ // OnlyChanges is a boolean indicating if ...
Go
Apache License 2.0
coinbase/rosetta-cli
Optionally, only print balance changes
127,814
25.10.2020 21:11:09
25,200
e1d9cac0704d5c845021ac52bab3fc7430619fd6
Add reconciler active backlog field to config
[ { "change_type": "MODIFY", "old_path": "configuration/types.go", "new_path": "configuration/types.go", "diff": "@@ -322,6 +322,11 @@ type DataConfiguration struct {\n// accounts are provided using bootstrap_balances and\n// syncing starts from genesis).\nInitialBalanceFetchDisabled bool `json:\"init...
Go
Apache License 2.0
coinbase/rosetta-cli
Add reconciler active backlog field to config
127,814
25.10.2020 21:31:34
25,200
cfed67fd8848af7d4a9d33995d2ad864ecae33f9
Fix prune balances
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.7-0.20201026040323-39bc21f235e7\n+ github.com/coinbase/rosetta-sdk-go v0.5.7-0.20201026043031-084899fa...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix prune balances
127,814
25.10.2020 21:35:41
25,200
8672a226beb58f680062ae926f7c71b6e3cc121e
Populate custom backlog
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -248,17 +248,28 @@ func InitializeData(\nhistoricalBalanceEnabled = networkOptions.Allow.HistoricalBalanceLookup\n}\n- r := reconciler.New(\n- reconcilerHelper,\n- reconcilerHandler,\n- parser,...
Go
Apache License 2.0
coinbase/rosetta-cli
Populate custom backlog
127,814
25.10.2020 21:41:40
25,200
c98bdaeda66494325304f5071ae08710a48cd241
Fix genesis add issue
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.7-0.20201026043031-084899fafb19\n+ github.com/coinbase/rosetta-sdk-go v0.5.7-0.20201026044055-a989b53e...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix genesis add issue
127,814
26.10.2020 08:12:49
25,200
df67e3049890b2de768e9819a90a6523c7a8e52e
Add balance pruning
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -254,6 +254,7 @@ func InitializeData(\nreconciler.WithInterestingAccounts(interestingAccounts),\nreconciler.WithSeenAccounts(seenAccounts),\nreconciler.WithInactiveFrequency(int64(config.Data.I...
Go
Apache License 2.0
coinbase/rosetta-cli
Add balance pruning
127,814
27.10.2020 15:51:51
25,200
0f06ed7972d0552150cc9092bff83dcf54bfe6bd
Remove unmaintained examples
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -30,8 +30,6 @@ check-format:\n! gofmt -s -l . | read;\nvalidate-configuration-files:\n- go run main.go configuration:validate examples/configuration/bitcoin.json;\n- go run main.go configuration:validate examples/...
Go
Apache License 2.0
coinbase/rosetta-cli
Remove unmaintained examples
127,814
29.10.2020 13:44:13
25,200
f9e77920c1133fb788c0557d0f384602e8ca5d24
Get rosetta-sdk-go fix for reconciler
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -3,7 +3,7 @@ module github.com/coinbase/rosetta-cli\ngo 1.13\nrequire (\n- github.com/coinbase/rosetta-sdk-go v0.5.8\n+ github.com/coinbase/rosetta-sdk-go v0.5.9-0.20201029204210-ce925f00ccc8\ngithub.com/fatih/color v...
Go
Apache License 2.0
coinbase/rosetta-cli
Get rosetta-sdk-go fix for reconciler