Move recipients vector checks to beginning of CreateTransaction
Move recipients vector checks to beginning of CreateTransaction

Ensuring that the recipients vector is not empty and that the amounts
are non-negative can be done in CreateTransaction rather than
CreateTransactionInternal. Additionally, these checks should happen as
soon as possible, so they are done at the beginning of
CreateTransaction.

lateminer/bitcoin,instagibbs/bitcoin,fujicoin/fujicoin,domob1812/namecore,achow101/bitcoin,prusnak/bitcoin,achow101/bitcoin,fanquake/bitcoin,bitcoinsSG/bitcoin,bitcoinknots/bitcoin,jlopp/statoshi,bitcoinsSG/bitcoin,sstone/bitcoin,AkioNak/bitcoin,dscotese/bitcoin,instagibbs/bitcoin,jambolo/bitcoin,ElementsProject/elements,jlopp/statoshi,domob1812/bitcoin,lateminer/bitcoin,jlopp/statoshi,anditto/bitcoin,mm-s/bitcoin,apoelstra/bitcoin,jlopp/statoshi,jlopp/statoshi,bitcoinknots/bitcoin,kallewoof/bitcoin,domob1812/bitcoin,namecoin/namecoin-core,bitcoin/bitcoin,pataquets/namecoin-core,ajtowns/bitcoin,sipsorcery/bitcoin,ajtowns/bitcoin,fujicoin/fujicoin,andreaskern/bitcoin,sstone/bitcoin,qtumproject/qtum,mm-s/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,fanquake/bitcoin,qtumproject/qtum,instagibbs/bitcoin,lateminer/bitcoin,MarcoFalke/bitcoin,jamesob/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/GroestlCoin,fujicoin/fujicoin,domob1812/bitcoin,namecoin/namecore,yenliangl/bitcoin,JeremyRubin/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,apoelstra/bitcoin,AkioNak/bitcoin,sipsorcery/bitcoin,JeremyRubin/bitcoin,domob1812/namecore,kallewoof/bitcoin,jambolo/bitcoin,bitcoin/bitcoin,ajtowns/bitcoin,jambolo/bitcoin,domob1812/bitcoin,prusnak/bitcoin,instagibbs/bitcoin,tecnovert/particl-core,Xekyo/bitcoin,jambolo/bitcoin,apoelstra/bitcoin,AkioNak/bitcoin,dscotese/bitcoin,namecoin/namecore,domob1812/namecore,dscotese/bitcoin,particl/particl-core,Xekyo/bitcoin,particl/particl-core,fanquake/bitcoin,namecoin/namecoin-core,Xekyo/bitcoin,bitcoinsSG/bitcoin,lateminer/bitcoin,anditto/bitcoin,JeremyRubin/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,mruddy/bitcoin,anditto/bitcoin,jamesob/bitcoin,MarcoFalke/bitcoin,apoelstra/bitcoin,namecoin/namecoin-core,AkioNak/bitcoin,sipsorcery/bitcoin,bitcoin/bitcoin,andreaskern/bitcoin,MarcoFalke/bitcoin,fujicoin/fujicoin,dscotese/bitcoin,ElementsProject/elements,bitcoin/bitcoin,AkioNak/bitcoin,mruddy/bitcoin,GroestlCoin/bitcoin,fujicoin/fujicoin,ElementsProject/elements,particl/particl-core,pataquets/namecoin-core,tecnovert/particl-core,anditto/bitcoin,namecoin/namecoin-core,instagibbs/bitcoin,fanquake/bitcoin,GroestlCoin/GroestlCoin,lateminer/bitcoin,AkioNak/bitcoin,Xekyo/bitcoin,pataquets/namecoin-core,bitcoinknots/bitcoin,sipsorcery/bitcoin,prusnak/bitcoin,qtumproject/qtum,pataquets/namecoin-core,yenliangl/bitcoin,domob1812/namecore,namecoin/namecore,domob1812/bitcoin,jambolo/bitcoin,Xekyo/bitcoin,apoelstra/bitcoin,ajtowns/bitcoin,andreaskern/bitcoin,sstone/bitcoin,domob1812/namecore,JeremyRubin/bitcoin,qtumproject/qtum,mm-s/bitcoin,JeremyRubin/bitcoin,pataquets/namecoin-core,andreaskern/bitcoin,yenliangl/bitcoin,mruddy/bitcoin,sipsorcery/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,namecoin/namecore,apoelstra/bitcoin,namecoin/namecoin-core,MarcoFalke/bitcoin,particl/particl-core,prusnak/bitcoin,ajtowns/bitcoin,namecoin/namecore,mm-s/bitcoin,GroestlCoin/GroestlCoin,fanquake/bitcoin,ElementsProject/elements,domob1812/namecore,dscotese/bitcoin,sstone/bitcoin,jamesob/bitcoin,sstone/bitcoin,domob1812/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,bitcoinsSG/bitcoin,Xekyo/bitcoin,tecnovert/particl-core,particl/particl-core,andreaskern/bitcoin,yenliangl/bitcoin,anditto/bitcoin,bitcoinknots/bitcoin,yenliangl/bitcoin,MarcoFalke/bitcoin,particl/particl-core,jamesob/bitcoin,sstone/bitcoin,kallewoof/bitcoin,GroestlCoin/bitcoin,jambolo/bitcoin,mruddy/bitcoin,GroestlCoin/GroestlCoin,ajtowns/bitcoin,yenliangl/bitcoin,tecnovert/particl-core,lateminer/bitcoin,GroestlCoin/bitcoin,achow101/bitcoin,sipsorcery/bitcoin,tecnovert/particl-core,mruddy/bitcoin,prusnak/bitcoin,fujicoin/fujicoin,qtumproject/qtum,qtumproject/qtum,mm-s/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin,tecnovert/particl-core,kallewoof/bitcoin,mm-s/bitcoin,ElementsProject/elements,bitcoin/bitcoin,jamesob/bitcoin,anditto/bitcoin,bitcoinsSG/bitcoin,GroestlCoin/bitcoin,JeremyRubin/bitcoin,instagibbs/bitcoin,ElementsProject/elements,achow101/bitcoin,dscotese/bitcoin,GroestlCoin/GroestlCoin,prusnak/bitcoin,mruddy/bitcoin,qtumproject/qtum,jamesob/bitcoin,achow101/bitcoin,MarcoFalke/bitcoin,achow101/bitcoin,jlopp/statoshi