Implement SQLiteDatabase::Rewrite
Implement SQLiteDatabase::Rewrite

Rewrite uses the VACUUM command which does exactly what we want. A
specific advertised use case is to compact a database and ensure that
any deleted data is actually deleted.

jlopp/statoshi,bitcoinknots/bitcoin,practicalswift/bitcoin,fujicoin/fujicoin,litecoin-project/litecoin,anditto/bitcoin,pstratem/bitcoin,jambolo/bitcoin,ajtowns/bitcoin,namecoin/namecoin-core,yenliangl/bitcoin,pstratem/bitcoin,EthanHeilman/bitcoin,ajtowns/bitcoin,particl/particl-core,tecnovert/particl-core,sipsorcery/bitcoin,particl/particl-core,bitcoinknots/bitcoin,particl/particl-core,mm-s/bitcoin,instagibbs/bitcoin,pataquets/namecoin-core,jambolo/bitcoin,EthanHeilman/bitcoin,JeremyRubin/bitcoin,namecoin/namecoin-core,namecoin/namecore,fanquake/bitcoin,namecoin/namecore,domob1812/bitcoin,jamesob/bitcoin,EthanHeilman/bitcoin,tecnovert/particl-core,instagibbs/bitcoin,jonasschnelli/bitcoin,achow101/bitcoin,AkioNak/bitcoin,particl/particl-core,mruddy/bitcoin,MeshCollider/bitcoin,mruddy/bitcoin,kallewoof/bitcoin,domob1812/bitcoin,pataquets/namecoin-core,ElementsProject/elements,andreaskern/bitcoin,jamesob/bitcoin,Sjors/bitcoin,dscotese/bitcoin,prusnak/bitcoin,instagibbs/bitcoin,tecnovert/particl-core,namecoin/namecore,GroestlCoin/bitcoin,domob1812/bitcoin,yenliangl/bitcoin,litecoin-project/litecoin,GroestlCoin/GroestlCoin,mm-s/bitcoin,anditto/bitcoin,fujicoin/fujicoin,andreaskern/bitcoin,bitcoinsSG/bitcoin,alecalve/bitcoin,jonasschnelli/bitcoin,jlopp/statoshi,fujicoin/fujicoin,n1bor/bitcoin,jnewbery/bitcoin,domob1812/namecore,bitcoin/bitcoin,ElementsProject/elements,lateminer/bitcoin,lateminer/bitcoin,tecnovert/particl-core,MeshCollider/bitcoin,namecoin/namecoin-core,domob1812/namecore,namecoin/namecoin-core,ElementsProject/elements,tecnovert/particl-core,anditto/bitcoin,qtumproject/qtum,n1bor/bitcoin,litecoin-project/litecoin,qtumproject/qtum,apoelstra/bitcoin,domob1812/namecore,GroestlCoin/GroestlCoin,rnicoll/dogecoin,pataquets/namecoin-core,tecnovert/particl-core,MeshCollider/bitcoin,yenliangl/bitcoin,ElementsProject/elements,cdecker/bitcoin,Sjors/bitcoin,AkioNak/bitcoin,alecalve/bitcoin,lateminer/bitcoin,kallewoof/bitcoin,qtumproject/qtum,litecoin-project/litecoin,GroestlCoin/GroestlCoin,jnewbery/bitcoin,jnewbery/bitcoin,JeremyRubin/bitcoin,achow101/bitcoin,prusnak/bitcoin,Xekyo/bitcoin,pstratem/bitcoin,practicalswift/bitcoin,instagibbs/bitcoin,dscotese/bitcoin,bitcoinknots/bitcoin,alecalve/bitcoin,bitcoinsSG/bitcoin,qtumproject/qtum,mruddy/bitcoin,bitcoin/bitcoin,instagibbs/bitcoin,EthanHeilman/bitcoin,pstratem/bitcoin,Xekyo/bitcoin,cdecker/bitcoin,GroestlCoin/bitcoin,Xekyo/bitcoin,fanquake/bitcoin,MeshCollider/bitcoin,practicalswift/bitcoin,bitcoinsSG/bitcoin,EthanHeilman/bitcoin,achow101/bitcoin,jambolo/bitcoin,n1bor/bitcoin,achow101/bitcoin,prusnak/bitcoin,mm-s/bitcoin,MarcoFalke/bitcoin,fujicoin/fujicoin,cdecker/bitcoin,bitcoinsSG/bitcoin,apoelstra/bitcoin,MarcoFalke/bitcoin,yenliangl/bitcoin,sstone/bitcoin,GroestlCoin/bitcoin,sipsorcery/bitcoin,litecoin-project/litecoin,AkioNak/bitcoin,mruddy/bitcoin,rnicoll/bitcoin,domob1812/bitcoin,Sjors/bitcoin,qtumproject/qtum,MarcoFalke/bitcoin,jambolo/bitcoin,sipsorcery/bitcoin,practicalswift/bitcoin,namecoin/namecore,pataquets/namecoin-core,cdecker/bitcoin,rnicoll/dogecoin,domob1812/bitcoin,alecalve/bitcoin,MeshCollider/bitcoin,practicalswift/bitcoin,n1bor/bitcoin,bitcoinknots/bitcoin,kallewoof/bitcoin,sipsorcery/bitcoin,alecalve/bitcoin,kallewoof/bitcoin,kallewoof/bitcoin,GroestlCoin/GroestlCoin,kallewoof/bitcoin,apoelstra/bitcoin,bitcoin/bitcoin,qtumproject/qtum,namecoin/namecoin-core,pataquets/namecoin-core,Xekyo/bitcoin,instagibbs/bitcoin,ElementsProject/elements,JeremyRubin/bitcoin,MarcoFalke/bitcoin,namecoin/namecore,GroestlCoin/bitcoin,Sjors/bitcoin,Sjors/bitcoin,AkioNak/bitcoin,JeremyRubin/bitcoin,ajtowns/bitcoin,jlopp/statoshi,cdecker/bitcoin,achow101/bitcoin,prusnak/bitcoin,Xekyo/bitcoin,sipsorcery/bitcoin,apoelstra/bitcoin,mruddy/bitcoin,andreaskern/bitcoin,bitcoinsSG/bitcoin,ajtowns/bitcoin,rnicoll/bitcoin,mruddy/bitcoin,apoelstra/bitcoin,anditto/bitcoin,lateminer/bitcoin,fanquake/bitcoin,GroestlCoin/GroestlCoin,AkioNak/bitcoin,sstone/bitcoin,fanquake/bitcoin,jambolo/bitcoin,anditto/bitcoin,bitcoinknots/bitcoin,yenliangl/bitcoin,rnicoll/bitcoin,pstratem/bitcoin,lateminer/bitcoin,dscotese/bitcoin,jlopp/statoshi,jambolo/bitcoin,particl/particl-core,achow101/bitcoin,sstone/bitcoin,rnicoll/dogecoin,JeremyRubin/bitcoin,dscotese/bitcoin,Xekyo/bitcoin,domob1812/namecore,MeshCollider/bitcoin,jonasschnelli/bitcoin,GroestlCoin/bitcoin,jnewbery/bitcoin,jnewbery/bitcoin,lateminer/bitcoin,mm-s/bitcoin,MarcoFalke/bitcoin,bitcoin/bitcoin,fujicoin/fujicoin,AkioNak/bitcoin,ajtowns/bitcoin,andreaskern/bitcoin,dscotese/bitcoin,fujicoin/fujicoin,MarcoFalke/bitcoin,sstone/bitcoin,domob1812/bitcoin,ajtowns/bitcoin,domob1812/namecore,GroestlCoin/bitcoin,anditto/bitcoin,andreaskern/bitcoin,jonasschnelli/bitcoin,jamesob/bitcoin,bitcoin/bitcoin,alecalve/bitcoin,fanquake/bitcoin,dscotese/bitcoin,sstone/bitcoin,EthanHeilman/bitcoin,sipsorcery/bitcoin,jamesob/bitcoin,rnicoll/bitcoin,particl/particl-core,jlopp/statoshi,rnicoll/dogecoin,JeremyRubin/bitcoin,cdecker/bitcoin,rnicoll/bitcoin,practicalswift/bitcoin,bitcoin/bitcoin,jlopp/statoshi,yenliangl/bitcoin,qtumproject/qtum,n1bor/bitcoin,jamesob/bitcoin,sstone/bitcoin,andreaskern/bitcoin,rnicoll/dogecoin,namecoin/namecoin-core,bitcoinsSG/bitcoin,rnicoll/bitcoin,fanquake/bitcoin,prusnak/bitcoin,domob1812/namecore,jonasschnelli/bitcoin,pataquets/namecoin-core,mm-s/bitcoin,apoelstra/bitcoin,ElementsProject/elements,pstratem/bitcoin,prusnak/bitcoin,mm-s/bitcoin,litecoin-project/litecoin,jamesob/bitcoin,n1bor/bitcoin,namecoin/namecore,GroestlCoin/GroestlCoin