Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
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
24 changes: 12 additions & 12 deletions cmd/api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ import (
"github.com/gin-gonic/gin"
"github.com/joho/godotenv"

"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/connector"
"github.com/provideapp/nchain/contract"
"github.com/provideapp/nchain/filter"
"github.com/provideapp/nchain/network"
"github.com/provideapp/nchain/oracle"
"github.com/provideapp/nchain/prices"
"github.com/provideapp/nchain/token"
"github.com/provideapp/nchain/tx"
"github.com/provideapp/nchain/wallet"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/connector"
"github.com/provideplatform/nchain/contract"
"github.com/provideplatform/nchain/filter"
"github.com/provideplatform/nchain/network"
"github.com/provideplatform/nchain/oracle"
"github.com/provideplatform/nchain/prices"
"github.com/provideplatform/nchain/token"
"github.com/provideplatform/nchain/tx"
"github.com/provideplatform/nchain/wallet"

pgputil "github.com/kthomas/go-pgputil"
redisutil "github.com/kthomas/go-redisutil"
provide "github.com/provideservices/provide-go/common"
util "github.com/provideservices/provide-go/common/util"

identcommon "github.com/provideapp/ident/common"
identtoken "github.com/provideapp/ident/token"
identcommon "github.com/provideplatform/ident/common"
identtoken "github.com/provideplatform/ident/token"
)

const runloopSleepInterval = 250 * time.Millisecond
Expand Down
12 changes: 6 additions & 6 deletions cmd/consumer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import (
pgputil "github.com/kthomas/go-pgputil"
redisutil "github.com/kthomas/go-redisutil"

"github.com/provideapp/nchain/common"
_ "github.com/provideapp/nchain/connector"
_ "github.com/provideapp/nchain/consumer"
_ "github.com/provideapp/nchain/contract"
_ "github.com/provideapp/nchain/network"
_ "github.com/provideapp/nchain/tx"
"github.com/provideplatform/nchain/common"
_ "github.com/provideplatform/nchain/connector"
_ "github.com/provideplatform/nchain/consumer"
_ "github.com/provideplatform/nchain/contract"
_ "github.com/provideplatform/nchain/network"
_ "github.com/provideplatform/nchain/tx"
)

const natsStreamingSubscriptionStatusTickerInterval = 5 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion cmd/migrate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

"github.com/jinzhu/gorm"
"github.com/provideapp/nchain/common"
"github.com/provideplatform/nchain/common"

"github.com/golang-migrate/migrate"
"github.com/golang-migrate/migrate/database/postgres"
Expand Down
4 changes: 2 additions & 2 deletions cmd/reachabilitydaemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
pgputil "github.com/kthomas/go-pgputil"
redisutil "github.com/kthomas/go-redisutil"

"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/connector"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/connector"
)

const runloopTickerInterval = 5 * time.Second
Expand Down
2 changes: 1 addition & 1 deletion cmd/reachabilitydaemon/reachability_daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"

logger "github.com/kthomas/go-logger"
"github.com/provideapp/nchain/common"
"github.com/provideplatform/nchain/common"
)

const defaultReachabilityGracePeriod = uint32(2) // this is the number of unreachable attempts prior to marking an endpoint as unreachable
Expand Down
4 changes: 2 additions & 2 deletions cmd/statsdaemon/historical_block_daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
natsutil "github.com/kthomas/go-natsutil"
redisutil "github.com/kthomas/go-redisutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
providego "github.com/provideservices/provide-go/api"
provide "github.com/provideservices/provide-go/api/nchain"
providecrypto "github.com/provideservices/provide-go/crypto"
Expand Down
4 changes: 2 additions & 2 deletions cmd/statsdaemon/log_transceiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
logger "github.com/kthomas/go-logger"
natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
provide "github.com/provideservices/provide-go/api/nchain"
)

Expand Down
10 changes: 5 additions & 5 deletions cmd/statsdaemon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (
pgputil "github.com/kthomas/go-pgputil"
redisutil "github.com/kthomas/go-redisutil"

"github.com/provideapp/nchain/common"
_ "github.com/provideapp/nchain/connector"
_ "github.com/provideapp/nchain/contract"
"github.com/provideapp/nchain/network"
_ "github.com/provideapp/nchain/tx"
"github.com/provideplatform/nchain/common"
_ "github.com/provideplatform/nchain/connector"
_ "github.com/provideplatform/nchain/contract"
"github.com/provideplatform/nchain/network"
_ "github.com/provideplatform/nchain/tx"
)

const runloopTickerInterval = 5 * time.Second
Expand Down
4 changes: 2 additions & 2 deletions cmd/statsdaemon/stats_daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
natsutil "github.com/kthomas/go-natsutil"
redisutil "github.com/kthomas/go-redisutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
provide "github.com/provideservices/provide-go/api/nchain"
providecrypto "github.com/provideservices/provide-go/crypto"
)
Expand Down
6 changes: 3 additions & 3 deletions connector/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
natsutil "github.com/kthomas/go-natsutil"
pgputil "github.com/kthomas/go-pgputil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/connector/provider"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/connector/provider"
"github.com/provideplatform/nchain/network"
provide "github.com/provideservices/provide-go/api"
c2 "github.com/provideservices/provide-go/api/c2"
)
Expand Down
2 changes: 1 addition & 1 deletion connector/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
stan "github.com/nats-io/stan.go"
"github.com/provideapp/nchain/common"
"github.com/provideplatform/nchain/common"
)

const natsConnectorDeprovisioningSubject = "nchain.connector.deprovision"
Expand Down
4 changes: 2 additions & 2 deletions connector/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/gin-gonic/gin"
dbconf "github.com/kthomas/go-db-config"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
provide "github.com/provideservices/provide-go/common"
util "github.com/provideservices/provide-go/common/util"
Expand Down
4 changes: 2 additions & 2 deletions connector/provider/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/ipfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
4 changes: 2 additions & 2 deletions connector/provider/zokrates.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

natsutil "github.com/kthomas/go-natsutil"
uuid "github.com/kthomas/go.uuid"
"github.com/provideapp/nchain/common"
"github.com/provideapp/nchain/network"
"github.com/provideplatform/nchain/common"
"github.com/provideplatform/nchain/network"
c2 "github.com/provideservices/provide-go/api/c2"
)

Expand Down
Loading