- Jan 09, 2025
-
-
Marcin authored
-
Marcin authored
-
Marcin authored
Currently state providers creates tables in hafd schema. All tables in hafd schemas are taken to db hash computation, but hashes for state providers are computed differently, ans should not affect hafd hash schema.
-
Marcin authored
-
Marcin authored
After many changes hash computed on databse could only be used to check if hfm can be updated to a given new version. The hash cannot be used to check if the database schema for a given hfm version was modified, becuase it does not take all haf elements for computation. It means there is no need to have stored hash of the databas because it has no usage, moreover it is misleading and could mask that the some parts of the schema was modified. Warning: the change modifies hafd schema, what means that old hfm versions cannot be updated to it.
-
Marcin authored
-
Marcin authored
-
Marcin authored
-
Marcin authored
-
Marcin authored
Newer hash computation method is injected into the db with older hfm version. Both naked new HAF db and old one use the same algorithm to getting hash.
-
Marcin authored
Now there is no need to extend list of hashed tables each time when new table is added to schema hafd. WARNING: previously people forget to extend the list and there are few tables which were not hashed. Because of this update from previous version of HAF is impossible
-
Marcin authored
There is no sense to pass schema parameter to hash db computation, at the end there is a list of tables to take into computation and all of them belongs to hafd schema.
-
Konrad Botor authored
-
- Jan 03, 2025
-
-
Dan Notestein authored
- hive: develop (a181ebfab21471951a369b138adb2f5003d7a642)
-
- Jan 02, 2025
- Dec 23, 2024
-
-
Dan Notestein authored
- hive: develop (015c4c0dc6b76d8b256363335609c5eadbcfaaeb)
-
- Dec 22, 2024
-
-
Dan Notestein authored
This reverts commit e9fa365a
-
Dan Notestein authored
- hive: develop (ef0e30e473fcc02ec5ca7f926fe1e3ca8301e02a)
-
Dan Notestein authored
-
- Dec 21, 2024
-
-
-
Previously, an application waited in app_next_iteration indefinitely for a moment when HAF reached the 'LIVE' stage what makes impossible to break with SIGINT and holds long-standing transaction. Now when HAF is before 'LIVE' then app_next_iteration returns null block range after 500ms. Because no blocks range is returned application is forced to back ask again for blocks.
-
Dan Notestein authored
-
Dan Notestein authored
-
- Dec 20, 2024
-
-
Dan Notestein authored
- hive: develop (8d5912e639040fb8ec1452163d6bf166fd939d84)
-
-
- Dec 18, 2024
-
-
Michal Zander authored
-
Michal Zander authored
-
Michal Zander authored
Adjust functional tests, corrected genesis accounts, pow operation sets weight threshold to 1 instead of 0
-
Michal Zander authored
-
Michal Zander authored
-
Michal Zander authored
-
Michal Zander authored
-
Michal Zander authored
-
- Dec 17, 2024
-
-
Dan Notestein authored
- hive: develop (bec4daffde0fb5768af80748679b884493c465de)
-
Krzysztof Mochocki authored
-
Marcin authored
If the definitions of start providers functions are the same as in the old hfm version, then it is possible to make update of state providers runtime function. The updatable runtime code needs to placed in state providers functions hive.runtimecode_provider_<provider_name>, all elements which are created there shall be placed in schema hive and will be removed during update procedure and recreated with their new versions
-
Marcin authored
Hash of start_provider functions bodies is computed and included into whole database hash. It means that when the definitions of state providers tables are changed, then update is not possible.
-
Marcin authored
-
Marcin authored
indexes dissapeared because encoding functions were removed during update
-