Last version before merging with the DNSChain project