diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e9fabcddb..74faf126f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,7 +38,7 @@ Only submit a PR once the intended edits are either done or nearing completion. ## Quick Start -1. Fork the repository on GitHub. Just click the little Fork button at https://github.com/dcrdata/dcrdata +1. Fork the repository on GitHub. Just click the little Fork button at https://github.com/decred/dcrdata 2. Clone your newly forked dcrdata repository ```sh @@ -81,7 +81,7 @@ git push -u origin my-great-stuff 7. Create the pull request -At the [main dcrdata repo page](https://github.com/dcrdata/dcrdata) (not your fork) you may find a button suggesting that you might want to create a PR from a branch you just pushed. "Compare & pull request" it will say on a big green button. Click it and it will start form to open a new pull request. Always: +At the [main dcrdata repo page](https://github.com/decred/dcrdata) (not your fork) you may find a button suggesting that you might want to create a PR from a branch you just pushed. "Compare & pull request" it will say on a big green button. Click it and it will start form to open a new pull request. Always: - Type a detailed comment for the changes you are proposing. Include motivation and a description of the code change. - Highlight any breaking changes. This includes any syntax changes, added or removed struct fields, interface changes, file renames or deletions, etc. diff --git a/README.md b/README.md index 5eeef2420..abf934cce 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # dcrdata -[![Build Status](https://img.shields.io/travis/dcrdata/dcrdata.svg)](https://travis-ci.org/dcrdata/dcrdata) -[![GitHub release](https://img.shields.io/github/release/dcrdata/dcrdata.svg)](https://github.com/dcrdata/dcrdata/releases) -[![Latest tag](https://img.shields.io/github/tag/dcrdata/dcrdata.svg)](https://github.com/dcrdata/dcrdata/tags) +[![Build Status](https://img.shields.io/travis/decred/dcrdata.svg)](https://travis-ci.org/decred/dcrdata) +[![GitHub release](https://img.shields.io/github/release/decred/dcrdata.svg)](https://github.com/decred/dcrdata/releases) +[![Latest tag](https://img.shields.io/github/tag/decred/dcrdata.svg)](https://github.com/decred/dcrdata/tags) [![ISC License](https://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) The dcrdata repository is a collection of golang packages and apps for [Decred](https://www.decred.org/) data collection, storage, and presentation. @@ -55,11 +55,11 @@ The following instructions assume a Unix-like shell (e.g. bash). * Clone the dcrdata repository. It **must** be cloned into the following directory. - git clone https://github.com/dcrdata/dcrdata $GOPATH/src/github.com/dcrdata/dcrdata + git clone https://github.com/decred/dcrdata $GOPATH/src/github.com/decred/dcrdata * Fetch dependencies, and build the `dcrdata` executable. - cd $GOPATH/src/github.com/dcrdata/dcrdata + cd $GOPATH/src/github.com/decred/dcrdata dep ensure # build dcrdata executable in workspace: go build @@ -85,7 +85,7 @@ folder as the `dcrdata` executable. First, update the repository (assuming you have `master` checked out): - cd $GOPATH/src/github.com/dcrdata/dcrdata + cd $GOPATH/src/github.com/decred/dcrdata git pull origin master dep ensure go build @@ -374,7 +374,7 @@ of objects implementing the `MempoolDataSaver` interface. ## Plans -See the GitHub issue tracker and the [project milestones](https://github.com/dcrdata/dcrdata/milestones). +See the GitHub issue tracker and the [project milestones](https://github.com/decred/dcrdata/milestones). ## Contributing @@ -384,7 +384,7 @@ Yes, please! See the CONTRIBUTING.md file for details, but here's the gist of it 1. Create a branch for your work (`git branch -b cool-stuff`). 1. Code something great. 1. Commit and push to your repo. -1. Create a [pull request](https://github.com/dcrdata/dcrdata/compare). +1. Create a [pull request](https://github.com/decred/dcrdata/compare). Note that all dcrdata.org community and team members are expected to adhere to the code of conduct, described in the CODE_OF_CONDUCT file. diff --git a/apirouter.go b/apirouter.go index f5dc82099..89c9f813f 100644 --- a/apirouter.go +++ b/apirouter.go @@ -171,7 +171,7 @@ func newAPIRouter(app *appContext, userRealIP bool) apiMux { // buf.WriteTo(os.Stdout) // fmt.Println(docgen.MarkdownRoutesDoc(mux, docgen.MarkdownOpts{ - // ProjectPath: "github.com/dcrdata/dcrdata", + // ProjectPath: "github.com/decred/dcrdata", // Intro: "dcrdata HTTP router directory", // })) // return diff --git a/apiroutes.go b/apiroutes.go index 5809b5b19..16453a5f5 100644 --- a/apiroutes.go +++ b/apiroutes.go @@ -9,9 +9,9 @@ import ( "strconv" "sync" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/rpcclient" + apitypes "github.com/decred/dcrdata/dcrdataapi" ) // APIDataSource implements an interface for collecting data for the api diff --git a/blockdata/blockdata.go b/blockdata/blockdata.go index be09edc8f..edaa13199 100644 --- a/blockdata/blockdata.go +++ b/blockdata/blockdata.go @@ -8,15 +8,15 @@ import ( "sync" "time" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/stakedb" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" "github.com/decred/dcrd/wire" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/stakedb" + "github.com/decred/dcrdata/txhelpers" ) // BlockData contains all the data collected by a Collector and stored diff --git a/blockdata/chainmonitor.go b/blockdata/chainmonitor.go index ef48fd1dd..c29ccf415 100644 --- a/blockdata/chainmonitor.go +++ b/blockdata/chainmonitor.go @@ -6,9 +6,9 @@ package blockdata import ( "sync" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" + "github.com/decred/dcrdata/txhelpers" ) // ReorgData contains the information from a reoranization notification diff --git a/blockmemdb.go b/blockmemdb.go index 34096f2dd..673209f09 100644 --- a/blockmemdb.go +++ b/blockmemdb.go @@ -8,10 +8,10 @@ package main import ( "sync" - "github.com/dcrdata/dcrdata/blockdata" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/blockdata" + apitypes "github.com/decred/dcrdata/dcrdataapi" ) // BlockDataToMemdb models the block data and block data basic as maps diff --git a/cmd/rebuilddb/rebuilddb.go b/cmd/rebuilddb/rebuilddb.go index 6c683df90..707e51c7f 100644 --- a/cmd/rebuilddb/rebuilddb.go +++ b/cmd/rebuilddb/rebuilddb.go @@ -8,10 +8,10 @@ import ( "sync" "github.com/btcsuite/btclog" - "github.com/dcrdata/dcrdata/db/dcrsqlite" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/stakedb" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/db/dcrsqlite" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/stakedb" ) var ( diff --git a/cmd/rebuilddb2/README.md b/cmd/rebuilddb2/README.md index 19baedf16..935c825dc 100644 --- a/cmd/rebuilddb2/README.md +++ b/cmd/rebuilddb2/README.md @@ -14,17 +14,17 @@ Be able to build dcrdata (see [../../README.md](../../README.md#build-from-sourc * Clone the dcrdata repository - git clone https://github.com/dcrdata/dcrdata $GOPATH/src/github.com/dcrdata/dcrdata + git clone https://github.com/decred/dcrdata $GOPATH/src/github.com/decred/dcrdata * Populate vendor folder with `dep ensure` - cd $GOPATH/src/github.com/dcrdata/dcrdata + cd $GOPATH/src/github.com/decred/dcrdata dep ensure * Build `rebuilddb2` # build rebuilddb2 executable in workspace: - cd $GOPATH/src/github.com/dcrdata/dcrdata/cmd/rebuilddb2 + cd $GOPATH/src/github.com/decred/dcrdata/cmd/rebuilddb2 go build # or to install dcrdata and other tools into $GOPATH/bin: go install ./cmd/rebuilddb2 diff --git a/cmd/rebuilddb2/rebuilddb2.go b/cmd/rebuilddb2/rebuilddb2.go index db2e5d71a..98b4c290a 100644 --- a/cmd/rebuilddb2/rebuilddb2.go +++ b/cmd/rebuilddb2/rebuilddb2.go @@ -12,9 +12,9 @@ import ( "time" "github.com/btcsuite/btclog" - "github.com/dcrdata/dcrdata/db/dcrpg" - "github.com/dcrdata/dcrdata/rpcutils" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/db/dcrpg" + "github.com/decred/dcrdata/rpcutils" ) var ( diff --git a/cmd/scanblocks/scanblocks.go b/cmd/scanblocks/scanblocks.go index 55e364024..ac56fab16 100644 --- a/cmd/scanblocks/scanblocks.go +++ b/cmd/scanblocks/scanblocks.go @@ -9,13 +9,13 @@ import ( "strconv" "github.com/btcsuite/btclog" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/blockchain" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/txhelpers" ) var host = flag.String("host", "127.0.0.1:9109", "node RPC host:port") diff --git a/db/dbtypes/conversion.go b/db/dbtypes/conversion.go index 16a30ffa6..66794f778 100644 --- a/db/dbtypes/conversion.go +++ b/db/dbtypes/conversion.go @@ -1,9 +1,9 @@ package dbtypes import ( - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/txhelpers" ) // MsgBlockToDBBlock creates a dbtypes.Block from a wire.MsgBlock diff --git a/db/dbtypes/extraction.go b/db/dbtypes/extraction.go index b75e37df4..85f756fe2 100644 --- a/db/dbtypes/extraction.go +++ b/db/dbtypes/extraction.go @@ -5,11 +5,11 @@ import ( "encoding/hex" "fmt" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/blockchain/stake" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/txscript" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/txhelpers" ) // DevSubsidyAddress returns the development subsidy address for the specified diff --git a/db/dbtypes/types.go b/db/dbtypes/types.go index 5f91d65ce..a97cdfbd3 100644 --- a/db/dbtypes/types.go +++ b/db/dbtypes/types.go @@ -6,7 +6,7 @@ import ( "fmt" "strconv" - "github.com/dcrdata/dcrdata/db/dbtypes/internal" + "github.com/decred/dcrdata/db/dbtypes/internal" ) // SyncResult is the result of a database sync operation, containing the height diff --git a/db/dcrpg/internal/blockstmts.go b/db/dcrpg/internal/blockstmts.go index 3024f9301..3f0474a53 100644 --- a/db/dcrpg/internal/blockstmts.go +++ b/db/dcrpg/internal/blockstmts.go @@ -3,7 +3,7 @@ package internal import ( "fmt" - "github.com/dcrdata/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/db/dbtypes" ) const ( diff --git a/db/dcrpg/internal/vinoutstmts.go b/db/dcrpg/internal/vinoutstmts.go index 1ee8b55af..028883ba2 100644 --- a/db/dcrpg/internal/vinoutstmts.go +++ b/db/dcrpg/internal/vinoutstmts.go @@ -4,7 +4,7 @@ import ( "encoding/hex" "fmt" - "github.com/dcrdata/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/db/dbtypes" "github.com/lib/pq" ) diff --git a/db/dcrpg/pgblockchain.go b/db/dcrpg/pgblockchain.go index ddd9f56a9..e8cced241 100644 --- a/db/dcrpg/pgblockchain.go +++ b/db/dcrpg/pgblockchain.go @@ -12,13 +12,13 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/explorer" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/explorer" humanize "github.com/dustin/go-humanize" ) diff --git a/db/dcrpg/queries.go b/db/dcrpg/queries.go index fbdf785f8..07e67d603 100644 --- a/db/dcrpg/queries.go +++ b/db/dcrpg/queries.go @@ -8,8 +8,8 @@ import ( "database/sql" "fmt" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/db/dcrpg/internal" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/db/dcrpg/internal" "github.com/lib/pq" ) diff --git a/db/dcrpg/sync.go b/db/dcrpg/sync.go index 3084ebdf0..5d7e28eed 100644 --- a/db/dcrpg/sync.go +++ b/db/dcrpg/sync.go @@ -10,9 +10,9 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/rpcutils" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/rpcutils" ) const ( diff --git a/db/dcrpg/tables.go b/db/dcrpg/tables.go index d69c82c2b..2bbacf52b 100644 --- a/db/dcrpg/tables.go +++ b/db/dcrpg/tables.go @@ -9,7 +9,7 @@ import ( "regexp" "strconv" - "github.com/dcrdata/dcrdata/db/dcrpg/internal" + "github.com/decred/dcrdata/db/dcrpg/internal" ) var createTableStatements = map[string]string{ diff --git a/db/dcrsqlite/apisource.go b/db/dcrsqlite/apisource.go index ec1a83848..311f29d1e 100644 --- a/db/dcrsqlite/apisource.go +++ b/db/dcrsqlite/apisource.go @@ -13,13 +13,6 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/db/dbtypes" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/explorer" - "github.com/dcrdata/dcrdata/mempool" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/stakedb" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/blockchain/stake" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" @@ -28,6 +21,13 @@ import ( "github.com/decred/dcrd/rpcclient" "github.com/decred/dcrd/txscript" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/db/dbtypes" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/explorer" + "github.com/decred/dcrdata/mempool" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/stakedb" + "github.com/decred/dcrdata/txhelpers" "github.com/dustin/go-humanize" ) diff --git a/db/dcrsqlite/chainmonitor.go b/db/dcrsqlite/chainmonitor.go index d201242c9..6bb7600df 100644 --- a/db/dcrsqlite/chainmonitor.go +++ b/db/dcrsqlite/chainmonitor.go @@ -7,8 +7,8 @@ import ( "fmt" "sync" - "github.com/dcrdata/dcrdata/blockdata" "github.com/decred/dcrd/chaincfg/chainhash" + "github.com/decred/dcrdata/blockdata" ) // ReorgData contains the information from a reoranization notification diff --git a/db/dcrsqlite/sqlite.go b/db/dcrsqlite/sqlite.go index 61f515bd9..f4e48b8d6 100644 --- a/db/dcrsqlite/sqlite.go +++ b/db/dcrsqlite/sqlite.go @@ -9,9 +9,9 @@ import ( "sync" "github.com/btcsuite/btclog" - "github.com/dcrdata/dcrdata/blockdata" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/blockdata" + apitypes "github.com/decred/dcrdata/dcrdataapi" _ "github.com/mattn/go-sqlite3" // register sqlite driver with database/sql ) diff --git a/db/dcrsqlite/sync.go b/db/dcrsqlite/sync.go index 9af6718de..cc7c20183 100644 --- a/db/dcrsqlite/sync.go +++ b/db/dcrsqlite/sync.go @@ -7,10 +7,10 @@ import ( "fmt" "time" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/txhelpers" ) const ( diff --git a/dcrdataapi/apitypes.go b/dcrdataapi/apitypes.go index 29c280d62..62f5e87db 100644 --- a/dcrdataapi/apitypes.go +++ b/dcrdataapi/apitypes.go @@ -4,8 +4,8 @@ package dcrdataapi import ( - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/dcrjson" + "github.com/decred/dcrdata/txhelpers" ) // much of the time, dcrdata will be using the types in dcrjson, but others are diff --git a/dev/relaunch.sh b/dev/relaunch.sh index 701d9f011..debdb4b3d 100755 --- a/dev/relaunch.sh +++ b/dev/relaunch.sh @@ -5,7 +5,7 @@ killall -w -INT dcrdata sleep 1 echo 'Rebuilding...' -cd $GOPATH/src/github.com/dcrdata/dcrdata +cd $GOPATH/src/github.com/decred/dcrdata git diff --no-ext-diff --quiet --exit-code if [ $? -ne 0 ]; then diff --git a/explorer/explorer.go b/explorer/explorer.go index 860980324..5c27aec81 100644 --- a/explorer/explorer.go +++ b/explorer/explorer.go @@ -19,13 +19,13 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/mempool" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/mempool" humanize "github.com/dustin/go-humanize" "github.com/go-chi/chi" "github.com/go-chi/chi/middleware" diff --git a/explorer/explorertypes.go b/explorer/explorertypes.go index a43091d04..bad3b08c4 100644 --- a/explorer/explorertypes.go +++ b/explorer/explorertypes.go @@ -6,10 +6,10 @@ package explorer import ( "sync" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/txhelpers" ) // BlockBasic models data for the explorer's explorer page diff --git a/log.go b/log.go index a97c5b9a8..05f2fa8a8 100644 --- a/log.go +++ b/log.go @@ -10,14 +10,14 @@ import ( "path/filepath" "github.com/btcsuite/btclog" - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dcrpg" - "github.com/dcrdata/dcrdata/db/dcrsqlite" - "github.com/dcrdata/dcrdata/explorer" - "github.com/dcrdata/dcrdata/mempool" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/stakedb" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dcrpg" + "github.com/decred/dcrdata/db/dcrsqlite" + "github.com/decred/dcrdata/explorer" + "github.com/decred/dcrdata/mempool" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/stakedb" "github.com/jrick/logrotate/rotator" ) diff --git a/main.go b/main.go index b80897d84..3025c0cbe 100644 --- a/main.go +++ b/main.go @@ -16,17 +16,17 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dbtypes" - "github.com/dcrdata/dcrdata/db/dcrpg" - "github.com/dcrdata/dcrdata/db/dcrsqlite" - "github.com/dcrdata/dcrdata/explorer" - "github.com/dcrdata/dcrdata/mempool" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/semver" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dbtypes" + "github.com/decred/dcrdata/db/dcrpg" + "github.com/decred/dcrdata/db/dcrsqlite" + "github.com/decred/dcrdata/explorer" + "github.com/decred/dcrdata/mempool" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/semver" + "github.com/decred/dcrdata/txhelpers" "github.com/go-chi/chi" ) diff --git a/mempool/mempool.go b/mempool/mempool.go index 4df17b223..7be69f78e 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -14,13 +14,13 @@ import ( "sync" "time" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" "github.com/decred/dcrd/blockchain/stake" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" + apitypes "github.com/decred/dcrdata/dcrdataapi" ) // NewTx models data for a new transaction diff --git a/mempool/mempoolcache.go b/mempool/mempoolcache.go index d0358b0f8..2a28f4732 100644 --- a/mempool/mempoolcache.go +++ b/mempool/mempoolcache.go @@ -7,8 +7,8 @@ import ( "sync" "time" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" "github.com/decred/dcrd/dcrjson" + apitypes "github.com/decred/dcrdata/dcrdataapi" ) // MempoolDataCache models the basic data for the mempool cache diff --git a/ntfnchans.go b/ntfnchans.go index d4082fd5a..fc58e075b 100644 --- a/ntfnchans.go +++ b/ntfnchans.go @@ -4,13 +4,13 @@ package main import ( - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dcrsqlite" - "github.com/dcrdata/dcrdata/mempool" - "github.com/dcrdata/dcrdata/stakedb" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dcrsqlite" + "github.com/decred/dcrdata/mempool" + "github.com/decred/dcrdata/stakedb" + "github.com/decred/dcrdata/txhelpers" ) const ( diff --git a/ntfnhandlers.go b/ntfnhandlers.go index b1ee56d91..2a6069a7a 100644 --- a/ntfnhandlers.go +++ b/ntfnhandlers.go @@ -8,14 +8,14 @@ import ( "sync" "time" - "github.com/dcrdata/dcrdata/blockdata" - "github.com/dcrdata/dcrdata/db/dcrsqlite" - "github.com/dcrdata/dcrdata/mempool" - "github.com/dcrdata/dcrdata/stakedb" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" "github.com/decred/dcrd/wire" + "github.com/decred/dcrdata/blockdata" + "github.com/decred/dcrdata/db/dcrsqlite" + "github.com/decred/dcrdata/mempool" + "github.com/decred/dcrdata/stakedb" "github.com/decred/dcrwallet/wallet/udb" ) diff --git a/rpcutils/rpcclient.go b/rpcutils/rpcclient.go index 7b96fcffd..85e0a2540 100644 --- a/rpcutils/rpcclient.go +++ b/rpcutils/rpcclient.go @@ -9,15 +9,15 @@ import ( "io/ioutil" "strconv" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/semver" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" "github.com/decred/dcrd/wire" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/semver" + "github.com/decred/dcrdata/txhelpers" ) var requiredChainServerAPI = semver.NewSemver(3, 0, 0) diff --git a/stakedb/stakedb.go b/stakedb/stakedb.go index 2e57cc4b8..3fbe74be2 100644 --- a/stakedb/stakedb.go +++ b/stakedb/stakedb.go @@ -11,9 +11,6 @@ import ( "strings" "sync" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" - "github.com/dcrdata/dcrdata/rpcutils" - "github.com/dcrdata/dcrdata/txhelpers" "github.com/decred/dcrd/blockchain/stake" "github.com/decred/dcrd/chaincfg" "github.com/decred/dcrd/chaincfg/chainhash" @@ -21,6 +18,9 @@ import ( "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" "github.com/decred/dcrd/wire" + apitypes "github.com/decred/dcrdata/dcrdataapi" + "github.com/decred/dcrdata/rpcutils" + "github.com/decred/dcrdata/txhelpers" ) // PoolInfoCache contains a map of block hashes to ticket pool info data at that diff --git a/txhelpers/txhelpers_test.go b/txhelpers/txhelpers_test.go index 76349ece4..790af5334 100644 --- a/txhelpers/txhelpers_test.go +++ b/txhelpers/txhelpers_test.go @@ -9,11 +9,11 @@ import ( "reflect" "testing" - "github.com/dcrdata/dcrdata/semver" "github.com/decred/dcrd/chaincfg/chainhash" "github.com/decred/dcrd/dcrjson" "github.com/decred/dcrd/dcrutil" "github.com/decred/dcrd/rpcclient" + "github.com/decred/dcrdata/semver" ) type TxGetter struct { diff --git a/views/extras.tmpl b/views/extras.tmpl index b652a5139..f6fd81b33 100644 --- a/views/extras.tmpl +++ b/views/extras.tmpl @@ -254,11 +254,11 @@
Decode/Broadcast Tx - JSON-API Docs + JSON-API Docs
- dcrdata v{{.Version}} - © 2017 (ISC) + dcrdata v{{.Version}} + © 2017 (ISC)
diff --git a/websocket.go b/websocket.go index aef735260..296e7c194 100644 --- a/websocket.go +++ b/websocket.go @@ -6,7 +6,7 @@ package main import ( "sync" - apitypes "github.com/dcrdata/dcrdata/dcrdataapi" + apitypes "github.com/decred/dcrdata/dcrdataapi" ) // WebSocketMessage represents the JSON object used to send and received typed