MCPcopy Create free account
hub / github.com/ElementsProject/lightning / is_released_version

Function is_released_version

wallet/db.c:935–940  ·  view source on GitHub ↗

Released versions are of form v{num}[.{num}]* */

Source from the content-addressed store, hash-verified

933
934/* Released versions are of form v{num}[.{num}]* */
935static bool is_released_version(void)
936{
937 if (version()[0] != 'v')
938 return false;
939 return strcspn(version()+1, ".0123456789") == strlen(version()+1);
940}
941
942/**
943 * db_migrate - Apply all remaining migrations from the current version

Callers 1

db_migrateFunction · 0.85

Calls 1

versionFunction · 0.50

Tested by

no test coverage detected