Export a couple of peer-to-peer client errors.

ok @jcvernaleo
This commit is contained in:
Dave Collins 2014-03-12 09:59:35 -05:00
parent 21b974e271
commit f65ea832de

View file

@ -64,6 +64,18 @@ var (
} }
) )
// Peer-to-peer client errors
var (
ErrClientNotConnected = Error{
Code: -9,
Message: "Bitcoin is not connected",
}
ErrClientInInitialDownload = Error{
Code: -10,
Message: "Bitcoin is downloading blocks...",
}
)
// Wallet JSON errors // Wallet JSON errors
var ( var (
ErrWallet = Error{ ErrWallet = Error{