summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-10-20 12:09:25 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2021-10-20 12:09:25 +0200
commitfc23c2d90a9ef54d0750a01de4cf9ddc228bf603 (patch)
tree18721559961d264182aa958e1593ab6d24669497 /core
parentf169eeadde1b90bbf378c5f8ec8064054b65772a (diff)
downloaddocs-fc23c2d90a9ef54d0750a01de4cf9ddc228bf603.tar.gz
docs-fc23c2d90a9ef54d0750a01de4cf9ddc228bf603.tar.bz2
docs-fc23c2d90a9ef54d0750a01de4cf9ddc228bf603.zip
introducing of additional types, cleanup and clarifications
Diffstat (limited to 'core')
-rw-r--r--core/api-common.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index 155857c0..a3baecfa 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -222,6 +222,14 @@ hashed data. See `base32`_.
// 32-byte hash code.
type ShortHashCode = string;
+.. ts:def:: SHA256HashCode
+
+ type SHA256HashCode = ShortHashCode;
+
+.. ts:def:: SHA512HashCode
+
+ type SHA256HashCode = HashCode;
+
Safe Integers
^^^^^^^^^^^^^