Commit graph

105 commits

Author SHA1 Message Date
Kashif
86db8fb4bf
fix breaking changes from rosetta-sdk 2020-11-13 11:11:41 -08:00
Kashif
364e9fa6ca
finish up coins api 2020-11-13 11:11:41 -08:00
Kashif
8032918639
add /account/coins api + remove coins from /balance 2020-11-13 11:11:37 -08:00
Patrick O'Grady
5e1ea91042
Merge pull request #42 from sidhujag/master
'make lint' fix - update.go fix
2020-11-12 17:38:10 -08:00
jagdeep sidhu
5e4a24e68d Update config.yml
closes #40. Update go version in circle config file

tested:

"curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.32.2
[sudo] password for jag:
golangci/golangci-lint info checking GitHub for tag 'v1.32.2'
golangci/golangci-lint info found version: 1.32.2 for v1.32.2/linux/amd64
golangci/golangci-lint info installed /home/jag/go/bin/golangci-lint"
2020-11-12 16:52:39 -08:00
jagdeep sidhu
774cf3c1d1 Update node.go
functional replacement for https://golang.org/pkg/strings/#Replace

to https://golang.org/pkg/strings/#ReplaceAll

since 1.31 golangci-lint gocritic was updated to include replace to replaceall hint.

ReplaceAll was added in Go 1.12

See https://github.com/go-critic/go-critic/issues/872 for more.
2020-11-12 12:11:21 -08:00
Patrick O'Grady
7e7f67e2e6
Merge pull request #34 from coinbase/dependabot/go_modules/github.com/coinbase/rosetta-sdk-go-0.5.9
Bump github.com/coinbase/rosetta-sdk-go from 0.5.8 to 0.5.9
2020-11-02 08:25:06 -08:00
dependabot[bot]
cb794bebce
Bump github.com/coinbase/rosetta-sdk-go from 0.5.8 to 0.5.9
Bumps [github.com/coinbase/rosetta-sdk-go](https://github.com/coinbase/rosetta-sdk-go) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/coinbase/rosetta-sdk-go/releases)
- [Commits](https://github.com/coinbase/rosetta-sdk-go/compare/v0.5.8...v0.5.9)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-02 07:18:38 +00:00
Patrick O'Grady
910bd313b6
Merge pull request #33 from coinbase/patrick/cleanup-configs
[rosetta-cli-conf] Cleanup Configs
2020-10-29 14:36:58 -07:00
Patrick O'Grady
c9cbdab2b9
Cleanup configs 2020-10-29 14:30:26 -07:00
Patrick O'Grady
651c4005ab
Merge pull request #32 from coinbase/patrick/update-version
Update version
2020-10-28 12:24:53 -07:00
Patrick O'Grady
6e867407c4
Update version 2020-10-28 12:20:30 -07:00
Patrick O'Grady
bdaaca43ad
Merge pull request #31 from coinbase/patrick/concurrent-compression
Concurrent Compression
2020-10-28 12:19:33 -07:00
Patrick O'Grady
b4a5444a23
Reduce size multiplier 2020-10-28 12:12:04 -07:00
Patrick O'Grady
51eef545a1
Update rosetta-sdk-go 2020-10-28 12:11:30 -07:00
Patrick O'Grady
129feb7f84
Merge pull request #30 from coinbase/patrick/historical-balance-lookup
[services] Add historical balance lookup
2020-10-27 15:58:13 -07:00
Patrick O'Grady
e1d4547c5b
nits 2020-10-27 15:25:08 -07:00
Patrick O'Grady
165c633575
Update rosetta-sdk-go 2020-10-27 15:24:05 -07:00
Patrick O'Grady
9a05090fe5
Tests 2020-10-27 13:25:06 -07:00
Patrick O'Grady
957c86c7f5
Update rosetta-sdk-go 2020-10-27 13:24:19 -07:00
Patrick O'Grady
dc10fea5f6
Revert block change 2020-10-27 12:43:58 -07:00
Patrick O'Grady
e244336178
Scope future changes 2020-10-27 11:28:45 -07:00
Patrick O'Grady
9fa814a74a
Return all transactions in a block 2020-10-27 11:14:53 -07:00
Patrick O'Grady
5e9343a662
Set historical balance lookup to true in services 2020-10-27 10:44:57 -07:00
Patrick O'Grady
58b468c901
Add license 2020-10-27 10:40:20 -07:00
Patrick O'Grady
08d579b2c9
Update dockerignore 2020-10-27 10:39:45 -07:00
Patrick O'Grady
e64f4e0ee3
Update version 2020-10-27 10:37:47 -07:00
Patrick O'Grady
fa7b34f90d
Add test for historical balances 2020-10-27 10:36:38 -07:00
Patrick O'Grady
a45bfe47c2
Nits 2020-10-27 10:29:15 -07:00
Patrick O'Grady
6bb3855c17
Update mocks 2020-10-27 10:26:31 -07:00
Patrick O'Grady
c2b434e04a
nits 2020-10-27 10:25:57 -07:00
Patrick O'Grady
2200f52687
First pass at GetBalance 2020-10-27 10:25:02 -07:00
Patrick O'Grady
272db602e4
Break apart coin storage helper 2020-10-27 10:02:28 -07:00
Patrick O'Grady
ae78470b83
First pass at tracking balance 2020-10-27 09:59:26 -07:00
Patrick O'Grady
ae2ff20bd2
Merge pull request #29 from coinbase/patrick/constructor-dsl
[Testing] Use Constructor DSL
2020-10-27 09:51:33 -07:00
Patrick O'Grady
68a2b1666e
Add comments 2020-10-27 08:31:48 -07:00
Patrick O'Grady
dcdc1cf81f
Require coin in configuration 2020-10-26 18:59:35 -07:00
Patrick O'Grady
c42c10cb32
Tests passing 2020-10-26 18:43:05 -07:00
Patrick O'Grady
fd8cea864e
Delete construction testing for mainnet 2020-10-26 17:25:11 -07:00
Patrick O'Grady
c5819a55b5
First pass at bitcoin.ros 2020-10-26 17:14:16 -07:00
Patrick O'Grady
832ab7d346
Start constructor migration 2020-10-26 16:29:41 -07:00
Patrick O'Grady
8000c85a66
Merge pull request #28 from coinbase/patrick/update-rosetta-sdk-go
Update to `rosetta-sdk-go@v0.5.7`
2020-10-26 15:59:42 -07:00
Patrick O'Grady
74541ca0c0
Update network version 2020-10-26 15:48:28 -07:00
Patrick O'Grady
70a1dc2cbf
Update rosetta-sdk-go 2020-10-26 15:45:05 -07:00
Patrick O'Grady
7a7e8ce690
Merge pull request #26 from coinbase/patrick/mempool-offline-protection
[servicer] /mempool/* offline mode protection
2020-10-16 11:12:38 -07:00
Patrick O'Grady
19184f9777
Add offline protection for mempool 2020-10-16 11:04:55 -07:00
Patrick O'Grady
2fc421ab6e
Merge pull request #25 from coinbase/patrick/upgrade-sdk-go
Update rosetta-sdk-go + mmap files
2020-10-16 09:44:21 -07:00
Patrick O'Grady
6d2c1ba29a
Update rosetta-sdk-go 2020-10-16 09:27:55 -07:00
Patrick O'Grady
7487bf091f
Add instructions for increasing swap space 2020-10-16 08:06:13 -07:00
Patrick O'Grady
4fa7f1f459
Fix tests 2020-10-16 07:54:35 -07:00