Move to decred github org
This commit is contained in:
parent
4b2a68ea48
commit
86fdf888da
@ -1,8 +1,8 @@
|
|||||||
# vspd
|
# vspd
|
||||||
|
|
||||||
[](https://github.com/jholdstock/vspd/actions)
|
[](https://github.com/decred/vspd/actions)
|
||||||
[](http://copyfree.org)
|
[](http://copyfree.org)
|
||||||
[](https://goreportcard.com/report/github.com/jholdstock/vspd)
|
[](https://goreportcard.com/report/github.com/decred/vspd)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ database file will also be written to this path when vspd shuts down.
|
|||||||
|
|
||||||
## Issue Tracker
|
## Issue Tracker
|
||||||
|
|
||||||
The [integrated github issue tracker](https://github.com/jholdstock/vspd/issues)
|
The [integrated github issue tracker](https://github.com/decred/vspd/issues)
|
||||||
is used for this project.
|
is used for this project.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@ -7,8 +7,8 @@ import (
|
|||||||
|
|
||||||
"decred.org/dcrwallet/rpc/client/dcrd"
|
"decred.org/dcrwallet/rpc/client/dcrd"
|
||||||
"github.com/decred/dcrd/chaincfg/v3"
|
"github.com/decred/dcrd/chaincfg/v3"
|
||||||
"github.com/jholdstock/vspd/database"
|
"github.com/decred/vspd/database"
|
||||||
"github.com/jholdstock/vspd/rpc"
|
"github.com/decred/vspd/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type NotificationHandler struct {
|
type NotificationHandler struct {
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
|||||||
module github.com/jholdstock/vspd
|
module github.com/decred/vspd
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
|||||||
8
log.go
8
log.go
@ -8,10 +8,10 @@ import (
|
|||||||
"github.com/decred/slog"
|
"github.com/decred/slog"
|
||||||
"github.com/jrick/logrotate/rotator"
|
"github.com/jrick/logrotate/rotator"
|
||||||
|
|
||||||
"github.com/jholdstock/vspd/background"
|
"github.com/decred/vspd/background"
|
||||||
"github.com/jholdstock/vspd/database"
|
"github.com/decred/vspd/database"
|
||||||
"github.com/jholdstock/vspd/rpc"
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/jholdstock/vspd/webapi"
|
"github.com/decred/vspd/webapi"
|
||||||
)
|
)
|
||||||
|
|
||||||
// logWriter implements an io.Writer that outputs to both standard output and
|
// logWriter implements an io.Writer that outputs to both standard output and
|
||||||
|
|||||||
8
main.go
8
main.go
@ -8,10 +8,10 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jholdstock/vspd/background"
|
"github.com/decred/vspd/background"
|
||||||
"github.com/jholdstock/vspd/database"
|
"github.com/decred/vspd/database"
|
||||||
"github.com/jholdstock/vspd/rpc"
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/jholdstock/vspd/webapi"
|
"github.com/decred/vspd/webapi"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@ -7,10 +7,10 @@ import (
|
|||||||
|
|
||||||
"decred.org/dcrwallet/wallet/txrules"
|
"decred.org/dcrwallet/wallet/txrules"
|
||||||
"github.com/decred/dcrd/dcrutil/v3"
|
"github.com/decred/dcrd/dcrutil/v3"
|
||||||
|
"github.com/decred/vspd/database"
|
||||||
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/jholdstock/vspd/database"
|
|
||||||
"github.com/jholdstock/vspd/rpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// addrMtx protects getNewFeeAddress.
|
// addrMtx protects getNewFeeAddress.
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jholdstock/vspd/database"
|
"github.com/decred/vspd/database"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|||||||
@ -3,9 +3,9 @@ package webapi
|
|||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/jholdstock/vspd/rpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type ticketHashRequest struct {
|
type ticketHashRequest struct {
|
||||||
|
|||||||
@ -9,10 +9,10 @@ import (
|
|||||||
"github.com/decred/dcrd/dcrutil/v3"
|
"github.com/decred/dcrd/dcrutil/v3"
|
||||||
"github.com/decred/dcrd/txscript/v3"
|
"github.com/decred/dcrd/txscript/v3"
|
||||||
"github.com/decred/dcrd/wire"
|
"github.com/decred/dcrd/wire"
|
||||||
|
"github.com/decred/vspd/database"
|
||||||
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/jholdstock/vspd/database"
|
|
||||||
"github.com/jholdstock/vspd/rpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// payFee is the handler for "POST /payfee".
|
// payFee is the handler for "POST /payfee".
|
||||||
|
|||||||
@ -4,10 +4,10 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/decred/vspd/database"
|
||||||
|
"github.com/decred/vspd/rpc"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/jholdstock/vspd/database"
|
|
||||||
"github.com/jholdstock/vspd/rpc"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// setVoteChoices is the handler for "POST /setvotechoices".
|
// setVoteChoices is the handler for "POST /setvotechoices".
|
||||||
|
|||||||
@ -4,9 +4,9 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/decred/vspd/database"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/gin-gonic/gin/binding"
|
"github.com/gin-gonic/gin/binding"
|
||||||
"github.com/jholdstock/vspd/database"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ticketStatus is the handler for "GET /ticketstatus".
|
// ticketStatus is the handler for "GET /ticketstatus".
|
||||||
|
|||||||
@ -11,8 +11,8 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jholdstock/vspd/database"
|
"github.com/decred/vspd/database"
|
||||||
"github.com/jholdstock/vspd/rpc"
|
"github.com/decred/vspd/rpc"
|
||||||
|
|
||||||
"github.com/decred/dcrd/chaincfg/v3"
|
"github.com/decred/dcrd/chaincfg/v3"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user