Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1e7b522
MUL-1794 MUL-1763: EOS support, account creation features
vovapi Jul 31, 2018
a4e95ce
MUL-1794: EOS initialization
vovapi Jul 31, 2018
8b63639
MUL-1794: new endpoints should be post
vovapi Jul 31, 2018
214d4ae
MUL-1794: /account/get_by_key : simple data validation
vovapi Jul 31, 2018
b80448a
MUL-1794: /account/get_by_key zero-length string array on empty response
vovapi Jul 31, 2018
4a75197
Merge branch 'master' of https://github.com/Multy-io/Multy-back into …
p2paltvnv Aug 1, 2018
ff3ccfd
MUL-1794 MUL-1763: EOS support, account creation features
vovapi Jul 31, 2018
0a86af7
MUL-1794: EOS initialization
vovapi Jul 31, 2018
060f4e9
MUL-1794: new endpoints should be post
vovapi Jul 31, 2018
e43d96b
MUL-1794: /account/get_by_key : simple data validation
vovapi Jul 31, 2018
cf14c80
MUL-1794: /account/get_by_key zero-length string array on empty response
vovapi Jul 31, 2018
741f441
Merge branch 'MUL-1794_EOS' of https://github.com/vovapi/Multy-back i…
p2paltvnv Aug 1, 2018
66e90c4
Logging and shutting down improvements
p2paltvnv Aug 1, 2018
afc7bb0
MUL-1794: EOS Mainnet/Testnet, proper /account/* endpoints, fix walle…
vovapi Aug 1, 2018
3d818ea
MUL-1794: EOS Mainnet/Testnet for all REST handlers
vovapi Aug 1, 2018
1077bf5
EOS chain info rest method
Aug 1, 2018
c7a2fb6
MUL-1794: WalletVerbose fix balance & pending
vovapi Aug 2, 2018
f8faa34
MUL-1794: Transaction history debug output
vovapi Aug 2, 2018
2177132
MUL-1794: TotalBalance for EOS
vovapi Aug 2, 2018
28be79a
MUL-1794: TotalBalance: remove symbol
vovapi Aug 2, 2018
ddb95d3
MUL-1794: TotalBalance: remove precision logic
vovapi Aug 2, 2018
6ddde90
MUL-1794: pending balance is 0 for now
vovapi Aug 2, 2018
ef52993
MUL-1794: EOS: separate tx table for testnet
vovapi Aug 2, 2018
655601f
MUL-1794: EOS delete wallet fix
vovapi Aug 2, 2018
02c5b06
MUL-1794: add ownerkey to WalletVerbose & move duplicated logic to a …
vovapi Aug 3, 2018
eafd9f2
MUL-1794: add activekey for valetverbose
vovapi Aug 3, 2018
cdfa3b3
MUL-1794: create wallet custom logic for EOS
vovapi Aug 3, 2018
7c66dda
Merge remote-tracking branch 'altvnv/MUL-1794_EOS' into MUL-1794_EOS
vovapi Aug 6, 2018
82802a1
MUL-1794: transaction history based on eth tx history
vovapi Aug 6, 2018
ba879dc
MUL-1794: resync on add wallet
vovapi Aug 6, 2018
856120d
MUL-1794: fix chain info & block time for tx
vovapi Aug 6, 2018
a36264e
MUL-1794: EOS network id & transaction hash
vovapi Aug 7, 2018
fb2fc2a
MUL-1794: exchange rates
vovapi Aug 7, 2018
b96bd52
Rates history eso fix
Aug 8, 2018
f07e4cf
Rates history eso fix
Aug 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ cmd/state.json
rpc.cert
data-db

.env
.env

.idea
2 changes: 1 addition & 1 deletion btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func InitHandlers(dbConf *store.Conf, coinTypes []store.CoinType, nsqAddr string
func initGrpcClient(url string) (pb.NodeCommuunicationsClient, error) {
conn, err := grpc.Dial(url, grpc.WithInsecure())
if err != nil {
log.Errorf("initGrpcClient: grpc.Dial: %s", err.Error())
//log.Errorf("initGrpcClient: grpc.Dial: %s", err.Error())
return nil, err
}

Expand Down
2 changes: 1 addition & 1 deletion btc/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func setGRPCHandlers(cli pb.NodeCommuunicationsClient, nsqProducer *nsq.Producer
go func() {
stream, err := cli.EventNewBlock(context.Background(), &pb.Empty{})
if err != nil {
log.Errorf("setGRPCHandlers: cli.EventNewBlock: %s", err.Error())
// log.Errorf("setGRPCHandlers: cli.EventNewBlock: %s", err.Error())
// return nil, err
}

Expand Down
2 changes: 1 addition & 1 deletion client/bitfinex.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func round(val float64) int {
func (eChart *exchangeChart) newBitfinexAPI(log slf.StructuredLogger) (*BitfinexAPI, error) {
bitfinexAPI := &BitfinexAPI{rates: eChart.rates.exchangeBitfinex, log: log.WithField("api", "bitfinex")}

c, err := newWebSocketConn(bitfinexAPIAddr)
c, err := newWebSocketConn(bitfinexAPIAddr, log)
if err != nil {
eChart.log.Errorf("new Bitfinex connection: %s", err.Error())
c, err = reconnectWebSocketConn(gdaxAPIAddr, log)
Expand Down
12 changes: 6 additions & 6 deletions client/exchange-api.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
Copyright 2018 Idealnaya rabota LLC
Licensed under Multy.io license.
See LICENSE for details
*/
* Copyright 2018 Idealnaya rabota LLC
* Licensed under Multy.io license.
* See LICENSE for details
*/
package client

import (
Expand Down Expand Up @@ -46,7 +46,7 @@ type GDAXSocketEvent struct {
func (eChart *exchangeChart) newGdaxAPI(log slf.StructuredLogger) (*GdaxAPI, error) {
gdaxAPI := &GdaxAPI{rates: eChart.rates.exchangeGdax, log: log.WithField("api", "gdax")}

c, err := newWebSocketConn(gdaxAPIAddr)
c, err := newWebSocketConn(gdaxAPIAddr, log)
if err != nil {
eChart.log.Errorf("new gdax connection: %s", err.Error())
c, err = reconnectWebSocketConn(gdaxAPIAddr, log)
Expand Down Expand Up @@ -139,7 +139,7 @@ type PoloniexSocketEvent struct {
func (eChart *exchangeChart) newPoloniexAPI(log slf.StructuredLogger) (*PoloniexAPI, error) {
poloniexAPI := &PoloniexAPI{rates: eChart.rates.exchangePoloniex, log: log.WithField("api", "poloniex")}

c, err := newWebSocketConn(poloniexAPIAddr)
c, err := newWebSocketConn(poloniexAPIAddr, log)
if err != nil {
eChart.log.Errorf("new poloniex connection: %s", err.Error())
c, err = reconnectWebSocketConn(gdaxAPIAddr, log)
Expand Down
Loading