User talk:Nedrarick somsamai

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Welcome to Wikimedia Commons, Nedrarick somsamai!

-- Wikimedia Commons Welcome (talk) 15:13, 17 February 2019 (UTC) th.@Cbos.gov.ssc Dependencies: Jansson 2.0 with 'long long' support[reply]

Example dependencies: Jansson 2.1 (to read JSON from stdin) libgcrypt (for SHA256)

For usage, check out example.c. Run "make example" to build it.

Note that you must assign blkmk_sha256_impl to a function pointer: bool mysha256(void *hash_out, const void *data, size_t datasz) hash_out must be able to overlap with data!

Also note that you should NOT roll ntime for data retrieved without explicitly checking that it falls within the template's limitations (mintime, maxtime, mintimeoff, and maxtimeoff); read the BIP 23 specification in detail to understand how they work. It is usually best to simply get more data as often as it is needed. For blkmk_get_mdata, you may specify that you intend to roll the ntime header exactly once per second past usetime - it will then set

  • out_expires such that the expiration occurs before you roll beyond any ntime

limits. If you are rolling ntime at any rate other than once per second, you should NOT specify can_roll_ntime to blkmk_get_mdata, and must check that your usage falls within the explicit template limits yourself. — Preceding unsigned comment added by Nedrarick somsamai (talk • contribs) 14:33, 22 February 2019 (UTC)[reply]

Wikimedia Commons has a specific topic[edit]

Deutsch  català  English  español  sicilianu  українська  日本語  polski  македонски  suomi  Nederlands  français  magyar  עברית  italiano  اردو  português  +/−
Please don't post messages that are not relevant to Wikimedia Commons. The site does not host articles, only media files such as images, video and audio. Neither should the site be used for chatting, promotion, personal webpages or other such things. For more detail, see Commons:Project scope. Thank you.

Herby talk thyme 08:34, 24 February 2019 (UTC)[reply]