feat: Add verifyMessageWithName to account
All checks were successful
Build Docker / Build Image (push) Successful in 44s
All checks were successful
Build Docker / Build Image (push) Successful in 44s
This commit is contained in:
parent
ca32bf7780
commit
83d676c372
@ -70,7 +70,7 @@ For Docker you can mount a volume to persist the user data (/app/user_data)
|
|||||||
- Rescan
|
- Rescan
|
||||||
- Zap pending transactions
|
- Zap pending transactions
|
||||||
- View xPub
|
- View xPub
|
||||||
- Custom plugin support
|
- Custom plugin support (find some [here](https://git.woodburn.au/nathanwoodburn?tab=repositories&q=plugin&sort=recentupdate))
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
Set a theme in the .env file
|
Set a theme in the .env file
|
||||||
|
10
account.py
10
account.py
@ -836,6 +836,16 @@ def signMessage(account,domain,message):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def verifyMessageWithName(domain,signature,message):
|
||||||
|
try:
|
||||||
|
response = hsd.rpc_verifyMessageWithName(domain,signature,message)
|
||||||
|
if 'result' in response:
|
||||||
|
return response['result']
|
||||||
|
return False
|
||||||
|
except Exception as e:
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
def generateReport(account,format="{name},{expiry},{value},{maxBid}"):
|
def generateReport(account,format="{name},{expiry},{value},{maxBid}"):
|
||||||
|
Loading…
Reference in New Issue
Block a user