minor, factor out series reading from roll over procedure (as read_series_from_file())

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, introduce conditional DEBUG_TRANSACTIONS_FLAG to get details ...

on the actual transactions.
This is business logic debugging instead of software debugging
hence this deserves a CFLAG of its own.

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, refactor series related stuff from truffle into series.[ch]

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, build libtruffle with series support

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
fix, hygiene, define DECLF and DEFUN in dt-strpf.h

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, flip truffle over to handling series through libtruffle

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
Merge branch 'feat/series' into next

* feat/series:
  minor, flip truffle over to handling series through libtruffle
  fix, hygiene, define DECLF and DEFUN in dt-strpf.h
  minor, build libtruffle with series support
  chore, refactor series related stuff from truffle into series.[ch]
  chore, introduce conditional DEBUG_TRANSACTIONS_FLAG to get details ...
  minor, factor out series reading from roll over procedure (as read_series_from_file())
minor, define trym_t in mmy.h

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
hygiene, cons slot of struct trtsc_s is actually a trym_t*

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, switch to using cym_to_trym() in series code

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, switch to using cym_to_trym() in truffle code

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, provide means to convert between relative and absolute trym_t objects, ...

For that to work we need trym_t to be signed.

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, provide read_trym() in mmy.c

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, compile libtruffle with mmy.c code

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, change signature of read_trym()

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, use literal TRYM_YR_CUTOFF instead of hard-coding it

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, remove unused __p2c() code

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, switch to using mmy API in trod.c

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
chore, define and use TRYM_ABS_CUTOFF in code using the mmy API

Signed-off-by: Sebastian Freundt <freundt@fresse.org>
minor, provide some idate helpers (getters for y, m, and d slots)

Signed-off-by: Sebastian Freundt <freundt@fresse.org>