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
28.07.2020 16:11:56
25,200
c98f1f026b35107444c2676eb61897e402982a35
Constructor refactor with no comments
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -10,6 +10,7 @@ import (\n\"github.com/coinbase/rosetta-cli/configuration\"\n\"github.com/coinbase/rosetta-cli/internal/scenario\"\n+ \"github.com/coinbase/rose...
Go
Apache License 2.0
coinbase/rosetta-cli
Constructor refactor with no comments
127,814
28.07.2020 16:17:45
25,200
4b9623f5d72db1183734a41b4cbc1cacd2160de9
Create constructors
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -166,6 +166,37 @@ type Constructor struct {\nhandler ConstructorHandler\n}\n+func NewConstructor(\n+ config *configuration.Configuration,\n+ helper Constructor...
Go
Apache License 2.0
coinbase/rosetta-cli
Create constructors
127,814
28.07.2020 16:28:54
25,200
79372737a006bf24a38614a4ad4b2fe2d874d7ed
Add CreateTransactions
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -4,11 +4,13 @@ import (\n\"context\"\n\"errors\"\n\"fmt\"\n+ \"log\"\n\"math/big\"\n\"math/rand\"\n\"time\"\n\"github.com/coinbase/rosetta-cli/configuration\"\...
Go
Apache License 2.0
coinbase/rosetta-cli
Add CreateTransactions
127,814
28.07.2020 17:16:41
25,200
a0a9e57a691701efcd68e489d0097e1c6f8edfab
Happy path address working with mocks!!
[ { "change_type": "ADD", "old_path": null, "new_path": "internal/constructor/constructor_test.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 ...
Go
Apache License 2.0
coinbase/rosetta-cli
Happy path address working with mocks!!
127,814
28.07.2020 17:52:05
25,200
d210692c01468db62e9b5cbb6bc5db0ff3c62715
Test createTransaction
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -30,6 +30,7 @@ import (\n\"github.com/coinbase/rosetta-cli/internal/utils\"\n\"github.com/coinbase/rosetta-sdk-go/keys\"\n+ \"github.com/coinbase/rosetta-sdk-g...
Go
Apache License 2.0
coinbase/rosetta-cli
Test createTransaction
127,814
28.07.2020 17:55:51
25,200
7879fb2ba6baf01e4e8a9ee9ca3d77929d348078
Add tests for minimum required balance
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -75,7 +75,7 @@ func defaultConstructor(t *testing.T) (*Constructor, *mocks.Helper, *mocks.Handl\nSymbol: \"BTC\",\nDecimals: 8,\n},\n- minimumBalance...
Go
Apache License 2.0
coinbase/rosetta-cli
Add tests for minimum required balance
127,814
28.07.2020 18:11:32
25,200
2dd45cb9f5b768dba3e1918c1abdc5d464bbb479
Test TestBestUnlockedSender_Account
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -158,6 +158,8 @@ type Helper interface {\nClearBroadcasts(ctx context.Context) ([]*storage.Broadcast, error)\nAllAddresses(ctx context.Context) ([]string, erro...
Go
Apache License 2.0
coinbase/rosetta-cli
Test TestBestUnlockedSender_Account
127,814
28.07.2020 18:24:46
25,200
955afb16e3bcdd28fcce0099c4c5d260ab40f89a
Add test for best unlocked sender utxo
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -87,6 +87,77 @@ func defaultAccountConstructor(t *testing.T) (*Constructor, *mocks.Helper, *mock\n}, helper, handler\n}\n+func bitcoinScenarios() ([]...
Go
Apache License 2.0
coinbase/rosetta-cli
Add test for best unlocked sender utxo
127,814
28.07.2020 18:31:09
25,200
17d7ecc2976afa2762194d23762b013137ac8484
Test find recipients for account
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -431,3 +431,30 @@ func TestBestUnlockedSender_Utxo(t *testing.T) {\nassert.Equal(t, big.NewInt(15), bestBalance)\nassert.Equal(t, \"coin 3\", bestCoi...
Go
Apache License 2.0
coinbase/rosetta-cli
Test find recipients for account
127,814
28.07.2020 18:33:06
25,200
705139715d4118c08b8d7e8a85d6ecc93213babf
Add find recipients test for UTXO
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -458,3 +458,49 @@ func TestFindRecipients_Account(t *testing.T) {\nassert.ElementsMatch(t, []string{\"addr 2\", \"addr 3\"}, minimumRecipients)\nasse...
Go
Apache License 2.0
coinbase/rosetta-cli
Add find recipients test for UTXO
127,814
28.07.2020 18:45:34
25,200
6d7e9c274472b67a5ed901a619ebe675035b6369
Add test for create scenario context
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -504,3 +504,76 @@ func TestFindRecipients_Utxo(t *testing.T) {\nassert.ElementsMatch(t, []string{}, minimumRecipients)\nassert.ElementsMatch(t, []str...
Go
Apache License 2.0
coinbase/rosetta-cli
Add test for create scenario context
127,814
28.07.2020 19:09:05
25,200
9ce69934086e9c751cd24fb285b293283b5a7036
Add test for canGetNewAddress
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -20,7 +20,6 @@ import (\n\"fmt\"\n\"log\"\n\"math/big\"\n- \"math/rand\"\n\"time\"\n\"github.com/coinbase/rosetta-cli/configuration\"\n@@ -36,16 +35,14 @@ impo...
Go
Apache License 2.0
coinbase/rosetta-cli
Add test for canGetNewAddress
127,814
28.07.2020 19:16:51
25,200
2102b3c18c12f105111bb7d012134b6dcea00e36
clarify where to run coverage
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -11,7 +11,12 @@ ADDLICENSE_CMD=go run github.com/google/addlicense\nADDLICENCE_SCRIPT=${ADDLICENSE_CMD} -c \"Coinbase, Inc.\" -l \"apache\" -v\nGOLINES_CMD=go run github.com/segmentio/golines\nGOVERALLS_CMD=go run...
Go
Apache License 2.0
coinbase/rosetta-cli
clarify where to run coverage
127,814
28.07.2020 20:46:08
25,200
ad76de849281149d8058a9477ec52f252c70bc07
Test failure of GenerateScenario_Account
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -627,10 +627,13 @@ func (c *Constructor) canGetNewAddress(\nreturn \"\", false, fmt.Errorf(\"%w: unable to get available addresses\", err)\n}\n+ if len(address...
Go
Apache License 2.0
coinbase/rosetta-cli
Test failure of GenerateScenario_Account
127,814
28.07.2020 21:17:33
25,200
aeebed4b4ddf2316cb097f9cd0e2997c7f7a59ab
Basic account transfer with new account
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -802,6 +802,11 @@ func (c *Constructor) generateScenario(\n[]*types.Operation, // scenario operations\nerror, // ErrInsufficientFunds\n) {\n+ if balance.Sign()...
Go
Apache License 2.0
coinbase/rosetta-cli
Basic account transfer with new account
127,814
28.07.2020 21:41:41
25,200
2969d8315f319f6b904d16cb100cee3d821fe810
Test many cases with account send
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -656,7 +656,8 @@ func (c *Constructor) generateAccountScenario(\n[]*types.Operation, // scenario operations\nerror, // ErrInsufficientFunds\n) {\n- adjustedBal...
Go
Apache License 2.0
coinbase/rosetta-cli
Test many cases with account send
127,814
28.07.2020 22:03:28
25,200
aa239f35813a0ff0d76c8d32681eedb3c49514f9
Basic fullsend test
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -779,10 +779,10 @@ func (c *Constructor) generateUtxoScenario(\nsender,\nbalance,\nrecipient,\n- c.helper.RandomAmount(c.minimumBalance, feeLessBalance),\n+ fe...
Go
Apache License 2.0
coinbase/rosetta-cli
Basic fullsend test
127,814
28.07.2020 22:09:29
25,200
b13b8e3d8f4b8865e8e89576fa28010706fb958d
UTXO no change testing covered
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -921,7 +921,7 @@ func TestGenerateScenario_Utxo(t *testing.T) {\nrandomAccountNumber *big.Int\nexpectNew bool\n- balances map[string]*intAndCoin\n+ a...
Go
Apache License 2.0
coinbase/rosetta-cli
UTXO no change testing covered
127,814
28.07.2020 22:13:49
25,200
1b5be76efbb3c66625fb9b7f0afdc2edb920e8b3
Insufficient funds on UTXO
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -925,9 +925,6 @@ func TestGenerateScenario_Utxo(t *testing.T) {\nsenderBalance *big.Int\n- sendAmount *big.Int\n- recipientAmount *big.Int\n-\nscenar...
Go
Apache License 2.0
coinbase/rosetta-cli
Insufficient funds on UTXO
127,814
28.07.2020 22:28:01
25,200
8210de70d5c978a35aac252c64cfdea6aaf597fb
First change test
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -860,12 +860,12 @@ func TestGenerateScenario_Account(t *testing.T) {\nmock.Anything,\nmock.Anything,\n).Return(\n- \"new addr 1\",\n+ newAddress,\nni...
Go
Apache License 2.0
coinbase/rosetta-cli
First change test
127,814
28.07.2020 22:33:17
25,200
4b37db1dfb2ea8f2549780b4eeff319f66e75c8b
Change tests in UTXO
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -967,6 +967,96 @@ func TestGenerateScenario_Utxo(t *testing.T) {\nscenarioOps: append(constructor.scenario, constructor.changeScenario),\nerr: nil,\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Change tests in UTXO
127,814
28.07.2020 23:04:59
25,200
0ae6ef5e891f5a5462ecd6b149ab08b7e7b2c065
Add coverage for find sender
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor_test.go", "new_path": "internal/constructor/constructor_test.go", "diff": "@@ -19,9 +19,11 @@ import (\n\"fmt\"\n\"math/big\"\n\"testing\"\n+ \"time\"\n\"github.com/coinbase/rosetta-cli/configuration\"\n\"github.com/coinbase/ro...
Go
Apache License 2.0
coinbase/rosetta-cli
Add coverage for find sender
127,814
28.07.2020 23:27:54
25,200
15a1e345e77b13a975f50c4f6ef47c385e98594c
Write initial funds load test
[ { "change_type": "MODIFY", "old_path": "internal/constructor/constructor.go", "new_path": "internal/constructor/constructor.go", "diff": "@@ -354,7 +354,7 @@ func (c *Constructor) requestFunds(\nctx context.Context,\naddress string,\n) (*big.Int, *types.CoinIdentifier, error) {\n- printedMessage := ...
Go
Apache License 2.0
coinbase/rosetta-cli
Write initial funds load test
127,814
29.07.2020 00:10:09
25,200
36a2219dfcd5ad274ffb130114a7ae4f5d1a9d60
Remove unnecessary logic from helper
[ { "change_type": "MODIFY", "old_path": "internal/processor/constructor_helper.go", "new_path": "internal/processor/constructor_helper.go", "diff": "@@ -216,42 +216,7 @@ func (c *ConstructorHelper) CoinBalance(\naccountIdentifier *types.AccountIdentifier,\ncurrency *types.Currency,\n) (*big.Int, *typ...
Go
Apache License 2.0
coinbase/rosetta-cli
Remove unnecessary logic from helper
127,814
29.07.2020 00:28:51
25,200
ae476aa8b9d42fda8c8fbf262b1860ee73aca805
use unix nano for source
[ { "change_type": "MODIFY", "old_path": "internal/utils/utils.go", "new_path": "internal/utils/utils.go", "diff": "@@ -208,7 +208,7 @@ func Zero() *big.Float {\n// RandomNumber returns some number in the range [minimum, maximum).\n// Source: https://golang.org/pkg/math/big/#Int.Rand\nfunc RandomNumbe...
Go
Apache License 2.0
coinbase/rosetta-cli
use unix nano for source
127,814
29.07.2020 08:30:10
25,200
b8f2296aa69e5743fd5682d5065fec2d58c28e21
Error if unknown fields in file
[ { "change_type": "MODIFY", "old_path": "internal/utils/utils.go", "new_path": "internal/utils/utils.go", "diff": "package utils\nimport (\n+ \"bytes\"\n\"context\"\n\"encoding/json\"\n\"fmt\"\n@@ -121,12 +122,17 @@ func SerializeAndWrite(filePath string, object interface{}) error {\n// LoadAndParse ...
Go
Apache License 2.0
coinbase/rosetta-cli
Error if unknown fields in file
127,814
29.07.2020 11:36:51
25,200
be35d7c2dc773ae4deb1020fa833fd04e2532896
Change confirmation depth behavior to match bitcoin
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -145,7 +145,11 @@ type ConstructionConfiguration struct {\nScenario []*types.Operation `json:\"scenario\"`\n// ConfirmationDepth is the number of blocks that must be syn...
Go
Apache License 2.0
coinbase/rosetta-cli
Change confirmation depth behavior to match bitcoin
127,814
29.07.2020 11:52:15
25,200
801ff18fcc030c800461b7fc5f71f9d343bfccea
Broadcast as soon as recieve
[ { "change_type": "MODIFY", "old_path": "internal/storage/broadcast_storage.go", "new_path": "internal/storage/broadcast_storage.go", "diff": "@@ -18,6 +18,7 @@ import (\n\"context\"\n\"fmt\"\n\"log\"\n+ \"sync\"\n\"github.com/coinbase/rosetta-sdk-go/types\"\n)\n@@ -47,6 +48,10 @@ type BroadcastStora...
Go
Apache License 2.0
coinbase/rosetta-cli
Broadcast as soon as recieve
127,814
29.07.2020 12:13:36
25,200
6a4e24fe63b7f2c180b76e6b95936e4e164807fc
Add better error logging when network not supported
[ { "change_type": "MODIFY", "old_path": "internal/utils/utils.go", "new_path": "internal/utils/utils.go", "diff": "@@ -169,14 +169,18 @@ func CheckNetworkSupported(\n}\nnetworkMatched := false\n+ supportedNetworks := []*types.NetworkIdentifier{}\nfor _, availableNetwork := range networks.NetworkIdent...
Go
Apache License 2.0
coinbase/rosetta-cli
Add better error logging when network not supported
127,814
29.07.2020 12:26:00
25,200
eed3970ae24d80226bfac899703efa41f71cd354
Ensure found block is returned not confirmed block in broadcast handler
[ { "change_type": "MODIFY", "old_path": "internal/storage/broadcast_storage.go", "new_path": "internal/storage/broadcast_storage.go", "diff": "@@ -161,6 +161,7 @@ func (b *BroadcastStorage) addBlockCommitWorker(\nstaleTransactions []*types.TransactionIdentifier,\nconfirmedTransactions []*Broadcast,\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Ensure found block is returned not confirmed block in broadcast handler
127,814
29.07.2020 12:28:09
25,200
ea8afccba1eda79ab1cd60177e8a34207443a1af
Fix stale depth calculation
[ { "change_type": "MODIFY", "old_path": "internal/storage/broadcast_storage.go", "new_path": "internal/storage/broadcast_storage.go", "diff": "@@ -222,7 +222,7 @@ func (b *BroadcastStorage) AddingBlock(\n// Check if we should mark the broadcast as stale\nif foundBlock == nil &&\n- block.BlockIdentifi...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix stale depth calculation
127,814
29.07.2020 15:17:09
25,200
1856b2f90bb3a5c8b5678478a2f4374d36f74f56
Fix reconciler regression
[ { "change_type": "MODIFY", "old_path": "internal/tester/data.go", "new_path": "internal/tester/data.go", "diff": "@@ -72,7 +72,15 @@ type DataTester struct {\n}\nfunc shouldReconcile(config *configuration.Configuration) bool {\n- return !config.Data.ReconciliationDisabled && !config.Data.BalanceTrac...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix reconciler regression
127,814
29.07.2020 15:27:39
25,200
ec5dccdbb531547ae37712c209ddc6ee8ddc5c57
Find transactions in context of block addition transaction
[ { "change_type": "MODIFY", "old_path": "internal/processor/broadcast_storage_helper.go", "new_path": "internal/processor/broadcast_storage_helper.go", "diff": "@@ -79,8 +79,9 @@ func (h *BroadcastStorageHelper) CurrentBlockIdentifier(\nfunc (h *BroadcastStorageHelper) FindTransaction(\nctx context.C...
Go
Apache License 2.0
coinbase/rosetta-cli
Find transactions in context of block addition transaction
127,814
06.08.2020 09:39:08
25,200
b8eafc1d9c6d47b94cc077f25ddec9f7007a59a9
Use new syncer
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -59,7 +59,6 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher := fetcher.New(\nConfig.OnlineURL,\n- fetcher.WithBlockConcurrency(Config.BlockConcurrenc...
Go
Apache License 2.0
coinbase/rosetta-cli
Use new syncer
127,814
06.08.2020 11:50:12
25,200
fdc9530014fa39ea055f82fa3e189fd1651f6650
Update to badgerDB 2.0.3
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -341,6 +341,10 @@ type Configuration struct {\n// we are considered to be behind tip.\nTipDelay int64 `json:\"tip_delay\"`\n+ // DisableMemoryLimit uses a performance-op...
Go
Apache License 2.0
coinbase/rosetta-cli
Update to badgerDB 2.0.3
127,814
07.08.2020 09:22:47
25,200
3ee74282a9c2ed35ad7e1ec5e415477f3cc6c910
Fix context cancel 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.3.4-0.20200806182127-a0b262f73fc3\n+ github.com/coinbase/rosetta-sdk-go v0.3.4-0.20200807162047-31075a50...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix context cancel issue
127,817
07.08.2020 04:38:56
25,200
6e5eab1606d10dc99a6c37e34a3e8798203c7c6a
Use uint64 for EndSeconds condition
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -317,7 +317,7 @@ type DataConfiguration struct {\n// EndSeconds is an end condtion that dictates how long the\n// check:data command would be running for\n- EndSeconds i...
Go
Apache License 2.0
coinbase/rosetta-cli
Use uint64 for EndSeconds condition
127,817
07.08.2020 04:57:28
25,200
ec7991620d76f2adfae9c9daf6f7d20f685a2a06
Rename EndSeconds to EndDuration
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -315,9 +315,9 @@ type DataConfiguration struct {\n// EndAtTip is an end condition. syncing will stop once the node has reached tip,\nEndAtTip bool `json:\"end_at_tip\"`\...
Go
Apache License 2.0
coinbase/rosetta-cli
Rename EndSeconds to EndDuration
127,817
07.08.2020 12:07:45
25,200
544b04a1cfb3db7917c450e139f519bffb7ffafa
Move end condtions into a nested struct
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -244,6 +244,16 @@ func DefaultConfiguration() *Configuration {\n}\n}\n+// EndCondition contains all the conditions for the syncer to stop.\n+type EndCondition struct {\n...
Go
Apache License 2.0
coinbase/rosetta-cli
Move end condtions into a nested struct
127,817
07.08.2020 12:21:59
25,200
d54354e6f5d4e11d086dce0d9b902f093dc10377
Make EndDuration in seconds to be consistent with other time related configuration
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -250,8 +250,8 @@ type EndCondition struct {\nEndAtTip bool `json:\"end_at_tip\"`\n// EndDuration is an end condtion that dictates how long the\n- // check:data command w...
Go
Apache License 2.0
coinbase/rosetta-cli
Make EndDuration in seconds to be consistent with other time related configuration
127,817
07.08.2020 13:47:20
25,200
562feeda27b0df5dabf70b6f661a2c59fcd31a52
Add end condition to examples
[ { "change_type": "MODIFY", "old_path": "examples/configuration/default.json", "new_path": "examples/configuration/default.json", "diff": "\"interesting_accounts\": \"\",\n\"reconciliation_disabled\": false,\n\"inactive_discrepency_search_disabled\": false,\n- \"balance_tracking_disabled\": false\n+ ...
Go
Apache License 2.0
coinbase/rosetta-cli
Add end condition to examples
127,817
07.08.2020 15:01:15
25,200
4be2bd1b5087fae7bb13ba46004ea0129028cd04
Rename EndCondition to EndConditions
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -244,8 +244,8 @@ func DefaultConfiguration() *Configuration {\n}\n}\n-// EndCondition contains all the conditions for the syncer to stop.\n-type EndCondition struct {\n+...
Go
Apache License 2.0
coinbase/rosetta-cli
Rename EndCondition to EndConditions
127,817
07.08.2020 15:03:56
25,200
1d978fa3c083d3511c06e846215405398b435cd1
Move EndAtTipCheckInterval to syncer
[ { "change_type": "MODIFY", "old_path": "internal/statefulsyncer/stateful_syncer.go", "new_path": "internal/statefulsyncer/stateful_syncer.go", "diff": "@@ -29,6 +29,14 @@ import (\n\"github.com/coinbase/rosetta-sdk-go/types\"\n)\n+var (\n+ // EndAtTipCheckInterval is the frequency that EndAtTip cond...
Go
Apache License 2.0
coinbase/rosetta-cli
Move EndAtTipCheckInterval to syncer
127,817
07.08.2020 15:11:03
25,200
efe27b83830bb4d6a2c6dd4624b2ca2eb3624987
Make EndConditions a pointer
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -323,7 +323,7 @@ type DataConfiguration struct {\nBalanceTrackingDisabled bool `json:\"balance_tracking_disabled\"`\n// EndCondition contains the conditions for the sync...
Go
Apache License 2.0
coinbase/rosetta-cli
Make EndConditions a pointer
127,814
07.08.2020 16:05:16
25,200
9a1de06310d53ba4e1be2332929705dc6a606cff
Make logging of config file optional
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -358,6 +358,10 @@ type Configuration struct {\n// that uses more memory.\nDisableMemoryLimit bool `json:\"disable_memory_limit\"`\n+ // LogConfiguration determines if th...
Go
Apache License 2.0
coinbase/rosetta-cli
Make logging of config file optional
127,814
07.08.2020 16:30:47
25,200
330589f6d3edec16018e902410b016b08cdc4107
Return block identifier with coin storage
[ { "change_type": "MODIFY", "old_path": "mocks/constructor/handler.go", "new_path": "mocks/constructor/handler.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 Licen...
Go
Apache License 2.0
coinbase/rosetta-cli
Return block identifier with coin storage
127,814
07.08.2020 16:32:09
25,200
11c10fe931250adbb7162317d4b5b4b67dafcd46
Fix mocks to add license
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -60,3 +60,4 @@ install:\nmocks:\nrm -rf mocks;\nmockery --dir pkg/constructor --all --case underscore --outpkg constructor --output mocks/constructor;\n+ ${ADDLICENCE_SCRIPT} .;\n" }, { "change_type": "MOD...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix mocks to add license
127,814
07.08.2020 16:43:47
25,200
e0f4bc3ebed481c47382c2ec7e6301327f54b449
Return block identifier with coins
[ { "change_type": "ADD", "old_path": null, "new_path": "pkg/processor/coin_storage_helper.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 obta...
Go
Apache License 2.0
coinbase/rosetta-cli
Return block identifier with coins
127,814
07.08.2020 16:57:07
25,200
3ad17f7a2ce04ea4fef8b2d665db65dbf89c90fc
Track coins on check:data
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -322,6 +322,12 @@ type DataConfiguration struct {\n// consistency.\nBalanceTrackingDisabled bool `json:\"balance_tracking_disabled\"`\n+ // CoinTrackingDisabled is a boo...
Go
Apache License 2.0
coinbase/rosetta-cli
Track coins on check:data
127,814
07.08.2020 17:20:46
25,200
dff2600064386651584a15b027b0eb9c497a5911
Replicate block cache error
[ { "change_type": "MODIFY", "old_path": "pkg/storage/block_storage_test.go", "new_path": "pkg/storage/block_storage_test.go", "diff": "@@ -122,6 +122,18 @@ func simpleTransactionFactory(\n}\nvar (\n+ genesisBlock = &types.Block{\n+ BlockIdentifier: &types.BlockIdentifier{\n+ Hash: \"blah 0\",\n+ Inde...
Go
Apache License 2.0
coinbase/rosetta-cli
Replicate block cache error
127,814
07.08.2020 17:22:57
25,200
ad0f7992961b482be820576c2ebfc7136f7befc5
Populate cache correctly when hitting genesis
[ { "change_type": "MODIFY", "old_path": "pkg/storage/block_storage.go", "new_path": "pkg/storage/block_storage.go", "diff": "@@ -382,6 +382,11 @@ func (b *BlockStorage) CreateBlockCache(ctx context.Context) []*types.BlockIdent\ncache = append([]*types.BlockIdentifier{block.BlockIdentifier}, cache...)...
Go
Apache License 2.0
coinbase/rosetta-cli
Populate cache correctly when hitting genesis
127,814
08.08.2020 13:43:27
25,200
912e95edc8bd40af7e374540bef78d860d62eae7
Add tests for omitted blocks to block storage
[ { "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.4-0.20200807162047-31075a509b1f\n+ github.com/coinbase/rosetta-sdk-go v0.3.4-0.20200808203554-be8e8fc6...
Go
Apache License 2.0
coinbase/rosetta-cli
Add tests for omitted blocks to block storage
127,814
08.08.2020 14:54:52
25,200
bad923eed8985c5e01b3fe3c87bfa1956715e532
Add ability to fetch block by index
[ { "change_type": "MODIFY", "old_path": "pkg/storage/block_storage.go", "new_path": "pkg/storage/block_storage.go", "diff": "@@ -35,11 +35,8 @@ const (\n// blockNamespace is prepended to any stored block.\nblockNamespace = \"block\"\n- // blockHashNamespace is prepended to any stored block hash.\n- /...
Go
Apache License 2.0
coinbase/rosetta-cli
Add ability to fetch block by index
127,814
11.08.2020 12:29:37
25,200
a54b69fb018db09f8a04e43ffbf3f63fc851411f
Prepare for reconciler end
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -153,9 +153,7 @@ Usage:\nrosetta-cli check:data [flags]\nFlags:\n- --end int block index to stop syncing (default -1)\n-h, --help help for check:data\n- --start int block index to start syncing (default -1)\nGlo...
Go
Apache License 2.0
coinbase/rosetta-cli
Prepare for reconciler end
127,814
11.08.2020 13:45:06
25,200
86878ff81f775404643ac2ac4824227289633da8
Add reconciliation coverage tracking
[ { "change_type": "MODIFY", "old_path": "pkg/processor/reconciler_handler.go", "new_path": "pkg/processor/reconciler_handler.go", "diff": "@@ -17,6 +17,7 @@ package processor\nimport (\n\"context\"\n\"errors\"\n+ \"fmt\"\n\"math/big\"\n\"github.com/coinbase/rosetta-cli/pkg/logger\"\n@@ -29,6 +30,7 @@...
Go
Apache License 2.0
coinbase/rosetta-cli
Add reconciliation coverage tracking
127,842
11.08.2020 21:51:54
-3,600
0a25bb19c28b5c4a6229a73c19a8b2fb2068c63a
add support in config for prefunded addresses
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -18,6 +18,7 @@ import (\n\"fmt\"\n\"log\"\n\"math/big\"\n+ \"strconv\"\n\"github.com/coinbase/rosetta-cli/pkg/scenario\"\n\"github.com/coinbase/rosetta-cli/pkg/utils\"\n...
Go
Apache License 2.0
coinbase/rosetta-cli
add support in config for prefunded addresses
127,814
11.08.2020 13:52:51
25,200
4d66b8050a5efac3c6de67ee1e62a57c43bf5cdb
Add ReconciliationCoverge to end condtions
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -259,6 +259,13 @@ type DataEndConditions struct {\n// Duration configures the syncer to stop after running\n// for Duration seconds.\nDuration *uint64 `json:\"duration,o...
Go
Apache License 2.0
coinbase/rosetta-cli
Add ReconciliationCoverge to end condtions
127,814
11.08.2020 14:09:36
25,200
084c2187bd50d052395771dcc5a3738a5ad95c1b
Add coverage end condition
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -577,7 +577,7 @@ func assertDataConfiguration(config *DataConfiguration) error {\nfoundConditions++\ncoverage := *config.EndConditions.ReconciliationCoverage\nif coverag...
Go
Apache License 2.0
coinbase/rosetta-cli
Add coverage end condition
127,814
11.08.2020 14:23:23
25,200
63034f6d1d0e4d56ad400643a050a2940e0f40cf
Add configuration settings to ensure basic setting enabled for reconciliation
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "package configuration\nimport (\n+ \"errors\"\n\"fmt\"\n\"log\"\n\"math/big\"\n@@ -579,6 +580,18 @@ func assertDataConfiguration(config *DataConfiguration) error {\nif cove...
Go
Apache License 2.0
coinbase/rosetta-cli
Add configuration settings to ensure basic setting enabled for reconciliation
127,814
11.08.2020 14:37:37
25,200
b382fe1b8475f3ee213f450045f4878cba0aa4ec
Log coverage if reconciliation is enabled
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -582,15 +582,21 @@ func assertDataConfiguration(config *DataConfiguration) error {\n}\nif config.BalanceTrackingDisabled {\n- return errors.New(\"balance tracking must b...
Go
Apache License 2.0
coinbase/rosetta-cli
Log coverage if reconciliation is enabled
127,814
11.08.2020 14:41:22
25,200
ee26d3e19475762e44ba4c24fee14e10e7571b0b
Log message correctly
[ { "change_type": "MODIFY", "old_path": "pkg/logger/logger.go", "new_path": "pkg/logger/logger.go", "diff": "@@ -146,10 +146,11 @@ func (l *Logger) LogDataStats(ctx context.Context) error {\n}\nstatsMessage = fmt.Sprintf(\n- \"Reconciliations (Coverage: %f%%): %s (Inactive: %s)\",\n- coverage*utils.O...
Go
Apache License 2.0
coinbase/rosetta-cli
Log message correctly
127,814
11.08.2020 14:58:52
25,200
d2d8fa4effb6feae221fe350311d9c4eef7b0a77
Add locks to prevent write conflicts
[ { "change_type": "MODIFY", "old_path": "pkg/storage/badger_storage.go", "new_path": "pkg/storage/badger_storage.go", "diff": "@@ -17,6 +17,7 @@ package storage\nimport (\n\"context\"\n\"fmt\"\n+ \"sync\"\n\"github.com/dgraph-io/badger/v2\"\n\"github.com/dgraph-io/badger/v2/options\"\n@@ -37,6 +38,8 ...
Go
Apache License 2.0
coinbase/rosetta-cli
Add locks to prevent write conflicts
127,814
11.08.2020 15:53:52
25,200
c2aeadf69a2976feb10a639510abfb08c4501dd9
Parse end condition exit correctly
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -67,6 +67,22 @@ const (\nEthereumMaximumFee = \"5000000000000000\" // 0.005 ETH\nEthereumCurveType = types.Secp256k1\nEthereumAccountingModel = AccountModel\n+\n+ // Ind...
Go
Apache License 2.0
coinbase/rosetta-cli
Parse end condition exit correctly
127,814
11.08.2020 16:00:58
25,200
0411c8046ee4a6dc2b75d5b30baa38768a2f5cd6
Exit logging loop faster
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -210,17 +210,22 @@ func (t *ConstructionTester) CloseDatabase(ctx context.Context) {\nfunc (t *ConstructionTester) StartPeriodicLogger(\nctx context.Context,\n) error {\n- for c...
Go
Apache License 2.0
coinbase/rosetta-cli
Exit logging loop faster
127,814
11.08.2020 16:49:22
25,200
a01e3c16e0de80992323b14148d4ded739349481
Add root errors
[ { "change_type": "ADD", "old_path": null, "new_path": "pkg/tester/data_errors.go", "diff": "+package tester\n+\n+import (\n+ \"errors\"\n+\n+ \"github.com/coinbase/rosetta-cli/configuration\"\n+)\n+\n+// Root Causes\n+var (\n+ ErrResponseInvalid = errors.New(\"response invalid\")\n+ ErrUnableToSync ...
Go
Apache License 2.0
coinbase/rosetta-cli
Add root errors
127,814
11.08.2020 17:25:03
25,200
8805d37e8b78a4a13f2926f0d7e90fc499491569
Print test results
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -458,6 +458,13 @@ func (t *DataTester) WatchEndConditions(\nreturn nil\n}\n+// Exit exits the program and prints the test results to the console.\n+func (t *DataTester) Exit(err error, status i...
Go
Apache License 2.0
coinbase/rosetta-cli
Print test results
127,814
11.08.2020 18:23:03
25,200
6790f3ff9b20a8452d612e3893bb92fe6270605b
Basic result printing
[ { "change_type": "MODIFY", "old_path": "cmd/check_construction.go", "new_path": "cmd/check_construction.go", "diff": "@@ -60,7 +60,7 @@ func runCheckConstructionCmd(cmd *cobra.Command, args []string) {\nfetcher := fetcher.New(\nConfig.OnlineURL,\nfetcher.WithTransactionConcurrency(Config.Transaction...
Go
Apache License 2.0
coinbase/rosetta-cli
Basic result printing
127,814
11.08.2020 18:48:03
25,200
445419e894f9ef4c87f720caaba56a54df508163
Handle reconciliation errors
[ { "change_type": "MODIFY", "old_path": "pkg/processor/reconciler_handler.go", "new_path": "pkg/processor/reconciler_handler.go", "diff": "@@ -27,6 +27,11 @@ import (\n\"github.com/coinbase/rosetta-sdk-go/types\"\n)\n+var (\n+ // ErrReconciliationFailure is returned if reconciliation fails.\n+ ErrRec...
Go
Apache License 2.0
coinbase/rosetta-cli
Handle reconciliation errors
127,814
11.08.2020 18:59:35
25,200
bab330cd025a8484de29ba31e58aa1842a122a44
Add another test row
[ { "change_type": "RENAME", "old_path": "pkg/tester/data_errors.go", "new_path": "pkg/tester/errors.go", "diff": "@@ -3,13 +3,13 @@ package tester\nimport (\n\"context\"\n\"errors\"\n- \"fmt\"\n\"os\"\n\"github.com/coinbase/rosetta-cli/configuration\"\n\"github.com/coinbase/rosetta-cli/pkg/processor\...
Go
Apache License 2.0
coinbase/rosetta-cli
Add another test row
127,814
11.08.2020 19:10:13
25,200
02393002b2c214bf5d87bc27ede51fc61c57db06
Continue to clean up test result
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -82,14 +82,22 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\n_, _, err := fetcher.InitializeAsserter(ctx)\nif err != nil {\n- err = fmt.Errorf(\"%w: unable to initialize asserter\"...
Go
Apache License 2.0
coinbase/rosetta-cli
Continue to clean up test result
127,814
11.08.2020 21:05:17
25,200
6d9a61006c0e44793e72dcf4474a096876a31b96
First pass at adding new typed errors
[ { "change_type": "MODIFY", "old_path": "cmd/root.go", "new_path": "cmd/root.go", "diff": "@@ -131,6 +131,6 @@ var versionCmd = &cobra.Command{\nUse: \"version\",\nShort: \"Print rosetta-cli version\",\nRun: func(cmd *cobra.Command, args []string) {\n- fmt.Println(\"v0.4.2-beta-102\")\n+ fmt.Println(...
Go
Apache License 2.0
coinbase/rosetta-cli
First pass at adding new typed errors
127,814
11.08.2020 21:30:20
25,200
38713bff778d4e2e0e5f72c55f7d5c0e874ee251
Add more syncer 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.3.5-0.20200812034917-c6a4e5d7ed31\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200812042923-73d638d6...
Go
Apache License 2.0
coinbase/rosetta-cli
Add more syncer errors
127,814
11.08.2020 22:15:39
25,200
ac21669a6573befef563bd31b2e41f7348cc0cc4
Add much more to output file
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -85,6 +85,7 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\ntester.Exit(\nConfig,\nnil,\n+ nil,\nfmt.Errorf(\"%w: unable to initialize asserter\", err),\n1,\n)\n@@ -95,6 +96,7 @@ fu...
Go
Apache License 2.0
coinbase/rosetta-cli
Add much more to output file
127,814
12.08.2020 09:06:00
25,200
4abc9398c6aab6ff7ecd014aedae397dec83ec69
Start tests for ComputeCheckDataResults
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data.go", "new_path": "pkg/tester/data.go", "diff": "@@ -457,28 +457,6 @@ func (t *DataTester) WatchEndConditions(\nreturn nil\n}\n-// Exit exits the program and prints the test results to the console.\n-func Exit(\n- config *configuration.Configura...
Go
Apache License 2.0
coinbase/rosetta-cli
Start tests for ComputeCheckDataResults
127,814
12.08.2020 09:14:46
25,200
08bbb4b5bac51b2f2bc6b100c93e729ffa91cfd5
Allow for teting multiple errors concurrently
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results.go", "new_path": "pkg/tester/data_results.go", "diff": "@@ -131,7 +131,7 @@ func ComputeCheckDataStats(ctx context.Context, counters *storage.CounterStorage\n//\n// TODO: add CoinTracking\ntype CheckDataTests struct {\n- Endpoints bool ...
Go
Apache License 2.0
coinbase/rosetta-cli
Allow for teting multiple errors concurrently
127,814
12.08.2020 09:21:25
25,200
3edee0311ae5b1d191f9b559fa89f40a490ff4a4
All stateless tests
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results_test.go", "new_path": "pkg/tester/data_results_test.go", "diff": "@@ -5,13 +5,20 @@ import (\n\"testing\"\n\"github.com/coinbase/rosetta-cli/configuration\"\n+ \"github.com/coinbase/rosetta-cli/pkg/processor\"\n\"github.com/coinbase/ros...
Go
Apache License 2.0
coinbase/rosetta-cli
All stateless tests
127,814
12.08.2020 11:30:32
25,200
2b95c8b652c5888012fb9232c5a80feeba0e1db4
More testing progress
[ { "change_type": "MODIFY", "old_path": "go.sum", "new_path": "go.sum", "diff": "@@ -54,6 +54,7 @@ github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+\ngithub.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=\ngithub.com/client9/misspell ...
Go
Apache License 2.0
coinbase/rosetta-cli
More testing progress
127,814
12.08.2020 12:22:49
25,200
85175cf489ee1769ae8e41a519ae99e3306db183
Add counterStorage testing
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results_test.go", "new_path": "pkg/tester/data_results_test.go", "diff": "@@ -19,7 +19,7 @@ import (\n)\nvar (\n- t = true\n+ tr = true\nf = false\n)\n@@ -87,6 +87,36 @@ func TestComputeCheckDataResults(t *testing.T) {\n},\n},\n},\n+ \"default ...
Go
Apache License 2.0
coinbase/rosetta-cli
Add counterStorage testing
127,814
12.08.2020 12:35:54
25,200
0e61249e99a063c568646dee3e976f969e00977c
Good test coverage
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results_test.go", "new_path": "pkg/tester/data_results_test.go", "diff": "@@ -117,6 +117,121 @@ func TestComputeCheckDataResults(t *testing.T) {\n},\n},\n},\n+ \"default configuration, counter storage with blocks no ops, no errors\": {\n+ cfg: ...
Go
Apache License 2.0
coinbase/rosetta-cli
Good test coverage
127,842
12.08.2020 20:49:47
-3,600
ea261a6b261ed527c3343e16e484ef8331762f4f
added import privkeys
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "package configuration\nimport (\n+ \"encoding/hex\"\n\"fmt\"\n\"log\"\n\"math/big\"\n- \"strconv\"\n\"github.com/coinbase/rosetta-cli/pkg/scenario\"\n\"github.com/coinbase/...
Go
Apache License 2.0
coinbase/rosetta-cli
added import privkeys
127,814
12.08.2020 13:24:31
25,200
20f1f4991c045b997fde04b3a5a7c0f301be794f
Don't omit empty tests
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results.go", "new_path": "pkg/tester/data_results.go", "diff": "@@ -199,9 +199,9 @@ func ComputeCheckDataStats(\ntype CheckDataTests struct {\nRequestResponse bool `json:\"request_response\"`\nResponseAssertion bool `json:\"response_assertion\"...
Go
Apache License 2.0
coinbase/rosetta-cli
Don't omit empty tests
127,814
12.08.2020 16:08:17
25,200
38981f0f9aa7e4a6e640ef913b64b25d5c4f44fd
CheckDataResults includes end condition
[ { "change_type": "MODIFY", "old_path": "cmd/check_data.go", "new_path": "cmd/check_data.go", "diff": "@@ -88,6 +88,8 @@ func runCheckDataCmd(cmd *cobra.Command, args []string) {\nnil,\nfmt.Errorf(\"%w: unable to initialize asserter\", err),\n1,\n+ \"\",\n+ \"\",\n)\n}\n@@ -99,6 +101,8 @@ func runChe...
Go
Apache License 2.0
coinbase/rosetta-cli
CheckDataResults includes end condition
127,814
12.08.2020 16:16:23
25,200
30a8d97a435318d58f24f326ee0f35cd37830bc6
Support multiple end conditions
[ { "change_type": "MODIFY", "old_path": "configuration/configuration.go", "new_path": "configuration/configuration.go", "diff": "@@ -593,24 +593,13 @@ func assertDataConfiguration(config *DataConfiguration) error {\nreturn nil\n}\n- foundConditions := 0\nif config.EndConditions.Index != nil {\n- foun...
Go
Apache License 2.0
coinbase/rosetta-cli
Support multiple end conditions
127,814
12.08.2020 19:21:21
25,200
546ab69311c5726adba4352d7bec9f1b4b89a5f5
Don't omit empty results
[ { "change_type": "MODIFY", "old_path": "pkg/tester/data_results.go", "new_path": "pkg/tester/data_results.go", "diff": "@@ -45,10 +45,10 @@ type EndCondition struct {\n// on a check:data run, the outcome of certain tests,\n// and a collection of interesting stats.\ntype CheckDataResults struct {\n- ...
Go
Apache License 2.0
coinbase/rosetta-cli
Don't omit empty results
127,814
13.08.2020 15:31:36
25,200
be172429e34aba990a509045b7e9f3697b4a3aac
Only store transaction identifier in Coin
[ { "change_type": "MODIFY", "old_path": "pkg/storage/coin_storage.go", "new_path": "pkg/storage/coin_storage.go", "diff": "@@ -69,7 +69,7 @@ func NewCoinStorage(\n// referred to as a UTXO).\ntype Coin struct {\nIdentifier *types.CoinIdentifier `json:\"identifier\"`\n- Transaction *types.Transaction `...
Go
Apache License 2.0
coinbase/rosetta-cli
Only store transaction identifier in Coin
127,814
13.08.2020 15:53:32
25,200
3419e1283d5d967acba950464db3cbc8612eab84
Batch updates to account coins during block
[ { "change_type": "MODIFY", "old_path": "pkg/storage/coin_storage.go", "new_path": "pkg/storage/coin_storage.go", "diff": "@@ -109,6 +109,7 @@ func (c *CoinStorage) tryAddingCoin(\nblockTransaction *types.Transaction,\noperation *types.Operation,\naction types.CoinAction,\n+ cache map[string]map[stri...
Go
Apache License 2.0
coinbase/rosetta-cli
Batch updates to account coins during block
127,814
13.08.2020 15:59:17
25,200
437b41b4ecd69f0c9ea6e1092f69d54cc51fc859
Use newest release of BadgerDB
[ { "change_type": "MODIFY", "old_path": "go.mod", "new_path": "go.mod", "diff": "@@ -4,8 +4,7 @@ go 1.13\nrequire (\ngithub.com/coinbase/rosetta-sdk-go v0.3.5-0.20200812042923-73d638d69870\n- github.com/dgraph-io/badger/v2 v2.0.3\n- github.com/dgraph-io/ristretto v0.0.2 // indirect\n+ github.com/dgra...
Go
Apache License 2.0
coinbase/rosetta-cli
Use newest release of BadgerDB
127,814
13.08.2020 16:27:00
25,200
0755c31d991cf7b9be098e38c0242f557cebd845
Log when loading accounts
[ { "change_type": "MODIFY", "old_path": "pkg/storage/balance_storage.go", "new_path": "pkg/storage/balance_storage.go", "diff": "@@ -505,6 +505,8 @@ func (b *BalanceStorage) getAllBalanceEntries(ctx context.Context) ([]*balanceEn\nfunc (b *BalanceStorage) GetAllAccountCurrency(\nctx context.Context,\...
Go
Apache License 2.0
coinbase/rosetta-cli
Log when loading accounts
127,814
17.08.2020 09:58:56
25,200
080d8c7e0204d3d89862f023ffad7e2c444ef48c
Use types.Coin in CoinStorage
[ { "change_type": "MODIFY", "old_path": "pkg/storage/coin_storage.go", "new_path": "pkg/storage/coin_storage.go", "diff": "@@ -65,14 +65,6 @@ func NewCoinStorage(\n}\n}\n-// Coin represents some spendable output (typically\n-// referred to as a UTXO).\n-type Coin struct {\n- Identifier *types.CoinIde...
Go
Apache License 2.0
coinbase/rosetta-cli
Use types.Coin in CoinStorage
127,814
19.08.2020 10:34:22
25,200
3a8f9c45dea4f190a9bf65d778f5b4a3f737c62b
Ensure block has been synced before creating an account
[ { "change_type": "MODIFY", "old_path": "go.sum", "new_path": "go.sum", "diff": "@@ -57,6 +57,8 @@ github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+\ngithub.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=\ngithub.com/client9/misspell ...
Go
Apache License 2.0
coinbase/rosetta-cli
Ensure block has been synced before creating an account
127,814
19.08.2020 11:15:44
25,200
6b136bf8722672558d498e0bb2540f2538106290
Address some fetcher improvements
[ { "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.20200819052137-5d2bf966818b\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200819181259-3eff56ca...
Go
Apache License 2.0
coinbase/rosetta-cli
Address some fetcher improvements
127,842
21.08.2020 15:54:27
-3,600
ad213501b0c14d10b79f605b78a32b9bb8be124f
change to only imported accs
[ { "change_type": "MODIFY", "old_path": "pkg/tester/construction.go", "new_path": "pkg/tester/construction.go", "diff": "@@ -152,7 +152,8 @@ func InitializeConstruction(\nlog.Printf(\"construction tester initialized with %d addresses\\n\", len(addresses))\nvar accountBalanceRequests []*utils.AccountB...
Go
Apache License 2.0
coinbase/rosetta-cli
change to only imported accs
127,814
23.08.2020 14:05:44
25,200
c1eb4cf5dec15313d320fca7bc8f55ea3b60552b
Fix breaking storage change
[ { "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.20200821143659-1916d6b4bde3\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200823205952-7cecd3cb...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix breaking storage change
127,814
23.08.2020 14:17:05
25,200
ad5d5353ccae961020e8bd820c674789385f30ea
Add train zstd command
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -47,6 +47,7 @@ Available Commands:\nconfiguration:validate Ensure a configuration file at the provided path is formatted correctly\nhelp Help about any command\nutils:asserter-configuration Generate a static con...
Go
Apache License 2.0
coinbase/rosetta-cli
Add train zstd command
127,814
23.08.2020 14:53:31
25,200
a7151cc5962d4533ee12ea80007bcba439d1942b
Fix training bugs
[ { "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.20200823205952-7cecd3cb6e87\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200823214948-e4483cf6...
Go
Apache License 2.0
coinbase/rosetta-cli
Fix training bugs
127,814
23.08.2020 15:33:21
25,200
952fb860d24c5d8db3caa3164f6e3a925322fb64
Use limited memory for training
[ { "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.20200823214948-e4483cf68f05\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200823224719-50905784...
Go
Apache License 2.0
coinbase/rosetta-cli
Use limited memory for training
127,814
23.08.2020 16:15:26
25,200
749269a6e47e2bfd95d79f03a23343174dee113e
Allow for max limit on training
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -353,7 +353,7 @@ to improve compression performance by training a dictionary on a particular\nstorage namespace. This command runs this training and outputs a dictionary\nthat can be used with rosetta-sdk-go/sto...
Go
Apache License 2.0
coinbase/rosetta-cli
Allow for max limit on training
127,814
24.08.2020 10:28:19
25,200
2a20bea1d59f10fb7b80da7421ea591bf8761b31
Train using existing dictionary if exists
[ { "change_type": "MODIFY", "old_path": "cmd/utils_train_zstd.go", "new_path": "cmd/utils_train_zstd.go", "diff": "@@ -43,7 +43,7 @@ The arguments for this command are: <namespace> <database path> <dictionary path\nYou can learn more about dictionary compression on the Zstandard\nwebsite: https://git...
Go
Apache License 2.0
coinbase/rosetta-cli
Train using existing dictionary if exists
127,814
24.08.2020 15:21:02
25,200
af4b73819c0ee1313ea3d6a96a061bf5f0967dec
Use official SDK 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.3.5-0.20200824172949-61aa33d621c1\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200824221853-d7b1fe2f...
Go
Apache License 2.0
coinbase/rosetta-cli
Use official SDK release
127,814
25.08.2020 12:43:30
25,200
74a97cf6f8064af917e8bcf41ef1568e9f462879
Resolve processor 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.3.5-0.20200825180137-4b6b8c12e59e\n+ github.com/coinbase/rosetta-sdk-go v0.3.5-0.20200825193453-990ba419...
Go
Apache License 2.0
coinbase/rosetta-cli
Resolve processor errors