namecoin / electrum-nmc

Namecoin port of Electrum Bitcoin client.
https://www.namecoin.org/
MIT License
29 stars 24 forks source link

name_history is unimplemented #197

Open JeremyRand opened 4 years ago

JeremyRand commented 4 years ago

The name_history RPC method from Namecoin Core needs to be implemented in Electrum-NMC. I think it could be done something like this:

sh = electrum.names.name_identifier_to_scripthash(b'd/wikileaks')
result = await network.get_history_for_scripthash(sh)

We'd also need to do SPV verification on all of the resulting transactions.