summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-07-12 10:08:22 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2022-07-12 10:08:22 +0200
commit4e60b03728fdbf9fe5cb514bad200b72db7616d4 (patch)
tree7b9a482efeff8262811c89fb43dfc4d0382fffb3 /core
parentee704ed30c42c9fa3e0c0017255e09a7d64a43a1 (diff)
downloaddocs-4e60b03728fdbf9fe5cb514bad200b72db7616d4.tar.gz
docs-4e60b03728fdbf9fe5cb514bad200b72db7616d4.tar.bz2
docs-4e60b03728fdbf9fe5cb514bad200b72db7616d4.zip
add comment on duration for taldir
Diffstat (limited to 'core')
-rw-r--r--core/api-taldir.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/api-taldir.rst b/core/api-taldir.rst
index 24c118de..86ed0fc9 100644
--- a/core/api-taldir.rst
+++ b/core/api-taldir.rst
@@ -129,6 +129,11 @@ Address registration
the directory.
Here, $METHOD is the type of address to register, e.g. "email", or "phone".
Supported methods are listed in the VersionResponse.
+ Note that duration should be given as a multiple of a month in microseconds.
+ If the duration is not a multiple of a month it will be rounded to the
+ nearest multiple. Halfway values will be rounded away from zero.
+ The cost calculation and resulting registration validity will be adjusted
+ automatically.
**Request**