Skip to content
Snippets Groups Projects
Commit 29da4021 authored by inertia's avatar inertia
Browse files

Merge branch 'mkudela/hive_documentation_fixes' into 'develop'

Change verify_signatures description in database_api documentation

See merge request !121
parents f13f04e3 bc939669
No related branches found
No related tags found
2 merge requests!122Develop,!121Change verify_signatures description in database_api documentation
...@@ -2194,8 +2194,8 @@ ...@@ -2194,8 +2194,8 @@
- "[beem](https://beem.readthedocs.io/en/latest/beem.transactionbuilder.html#beem.transactionbuilder.TransactionBuilder.verify_authority)" - "[beem](https://beem.readthedocs.io/en/latest/beem.transactionbuilder.html#beem.transactionbuilder.TransactionBuilder.verify_authority)"
- "[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)" - "[hive-ruby](https://www.rubydoc.info/gems/hive-ruby/Hive/Api)"
- api_method: database_api.verify_signatures - api_method: database_api.verify_signatures
purpose: This is a general purpose API that checks signatures against accounts purpose:
for an arbitrary sha256 hash using the existing authority structures. This method validates if transaction was signed by person listed in required_owner, required_active or required_posting parameter. `Hash` is a mix of chain_id and transaction data.
parameter_json: '{"hash":"0000000000000000000000000000000000000000000000000000000000000000","signatures":[],"required_owner":[],"required_active":[],"required_posting":[],"required_other":[]}' parameter_json: '{"hash":"0000000000000000000000000000000000000000000000000000000000000000","signatures":[],"required_owner":[],"required_active":[],"required_posting":[],"required_other":[]}'
expected_response_json: '{"valid":false}' expected_response_json: '{"valid":false}'
curl_examples: curl_examples:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment