use directly bitcoind database
don't use sub fonctions