test: doc: improve doc for chain_transaction() helper
test: doc: improve doc for chain_transaction() helper

Change to docstring format and describe the functions
purpose, its parameters and return value in more detail.

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