hive merge requestshttps://gitlab.syncad.com/hive/hive/-/merge_requests2024-01-03T07:23:32Zhttps://gitlab.syncad.com/hive/hive/-/merge_requests/166Prepare new plugin - wallet_bridge_api for wallet_api2024-01-03T07:23:32ZAndrzej SuchPrepare new plugin - wallet_bridge_api for wallet_apiRemoved almost all condenser_api elements from wallet_api. Only legacy_asset left because methods from condenser_api::legacy_asset: to_string() and from_string() are needed. But legacy_asset is used only for reading arguments from cli_wa...Removed almost all condenser_api elements from wallet_api. Only legacy_asset left because methods from condenser_api::legacy_asset: to_string() and from_string() are needed. But legacy_asset is used only for reading arguments from cli_wallet and to print asset values and in other cases wallet_api uses protocol::asset.
Prepared wallet_bridge_api_plugin. This plugin has all methods with wallet_api needed for now to work.
Removed remote_node_api. Now we use wallet_bridge_api.
**TODO:
Only smoke tests have been done in order to verify works + CI tests. Need to prepare tests to verify all wallet_api methods.**Mariusz TrelaMariusz Trelahttps://gitlab.syncad.com/hive/hive/-/merge_requests/1003Improve WASM Beekeeper tests2023-08-25T13:02:32ZMateusz TyszczakImprove WASM Beekeeper tests- Added WASM beekeeper publish CI/CD stage
- Improved WASM Beekeeper tests
@hb- Added WASM beekeeper publish CI/CD stage
- Improved WASM Beekeeper tests
@hbBartek WronaBartek Wronahttps://gitlab.syncad.com/hive/hive/-/merge_requests/819Fixes and refactor in enum_virtual_ops2023-02-01T13:48:54ZKrzysztof Mochockikmochocki@syncad.comFixes and refactor in enum_virtual_opsFixes: https://gitlab.syncad.com/hive/hive/-/issues/438
Required by: https://gitlab.syncad.com/hive/hive/-/merge_requests/789Fixes: https://gitlab.syncad.com/hive/hive/-/issues/438
Required by: https://gitlab.syncad.com/hive/hive/-/merge_requests/789Krzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/724Draft: Fix #345: add an option to allow dumping information about all hived o...2023-01-13T10:59:53ZŁukasz ŚwiszczDraft: Fix #345: add an option to allow dumping information about all hived options in JSON formatThis change adds an option `--dump-options` in appbase library. It allows to dump information about all available command-line and config options. Example output:
```
$ ./hived --dump-options
{
"config_file": [{
"name": "log-app...This change adds an option `--dump-options` in appbase library. It allows to dump information about all available command-line and config options. Example output:
```
$ ./hived --dump-options
{
"config_file": [{
"name": "log-appender",
"description": "Appender definition json: {\"appender\", \"stream\", \"file\"} Can only specify a file OR a stream",
"required": false,
"value": {
"multiple_allowed": false,
"composed": true,
"value_type": "string_array",
"default_value": [
"{\"appender\":\"stderr\",\"stream\":\"std_error\",\"time_format\":\"iso_8601_microseconds\"}",
"{\"appender\":\"p2p\",\"file\":\"logs/p2p/p2p.log\",\"time_format\":\"iso_8601_milliseconds\", \"delta_times\": false}"
]
}
},
[...]
],
"command_line": [
[...]
{
"name": "help",
"description": "Print this help message and exit.",
"required": false,
"value": null
},
[...]
]
}
```
Requires hive/test-tools!97Bartek WronaBartek Wronahttps://gitlab.syncad.com/hive/hive/-/merge_requests/92Extended logging with statsd functionality during replay2022-09-10T11:39:44ZKrzysztof Mochockikmochocki@syncad.comExtended logging with statsd functionality during replay@bwrona
Related to prometheus job@bwrona
Related to prometheus jobKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/509Display a progress bar when indexing the block_log2022-07-07T21:02:11ZHowoDisplay a progress bar when indexing the block_logIncludes changes:
- Schemas auto-validation support in TestTools
- Add new config entires for block log compressionIncludes changes:
- Schemas auto-validation support in TestTools
- Add new config entires for block log compressionHowoHowohttps://gitlab.syncad.com/hive/hive/-/merge_requests/478Draft: Update Schemas2022-06-02T10:55:44ZMichał Kudelakudmich@syncad.comDraft: Update Schemas- Update Schemas submodule
- Set on CI environment variable `TEST_TOOLS_VALIDATE_RESPONSE_SCHEMAS` enabling schema validation in `message_format_tests`
Corresponding merge requests with review and description in [schemas](https://gitlab...- Update Schemas submodule
- Set on CI environment variable `TEST_TOOLS_VALIDATE_RESPONSE_SCHEMAS` enabling schema validation in `message_format_tests`
Corresponding merge requests with review and description in [schemas](https://gitlab.syncad.com/hive/schemas/-/merge_requests/7)Bartek WronaBartek Wronahttps://gitlab.syncad.com/hive/hive/-/merge_requests/403Add package for schema based validation2022-04-28T12:08:13ZMichał Kudelakudmich@syncad.comAdd package for schema based validation- Package allows testers to easily write schemas
- The response (json) coming from the API are validated with the schemas
- It is based on the popular [jsonschema](http://json-schema.org/) package
- Added tests to the CI- Package allows testers to easily write schemas
- The response (json) coming from the API are validated with the schemas
- It is based on the popular [jsonschema](http://json-schema.org/) package
- Added tests to the CIMichał Kudelakudmich@syncad.comMichał Kudelakudmich@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/337added pushing handler for virtual operations2022-01-21T11:05:32ZKrzysztof Mochockikmochocki@syncad.comadded pushing handler for virtual operationsThis fixes bug with shift of positions between pre- and post- push of virtual operations.
Note: `pre-push` increments `virtual_op` counter by one, and `post-push` get last value of `virtual_op`
Example in case of `harfork_operation`:
`...This fixes bug with shift of positions between pre- and post- push of virtual operations.
Note: `pre-push` increments `virtual_op` counter by one, and `post-push` get last value of `virtual_op`
Example in case of `harfork_operation`:
```
pre-push: { "type": "hardfork_operation", "virtual_op": 3 }
pre-push: { "type": "some_operation", "virtual_op": 4 }
post-push: { "type": "some_operation", "virtual_op": 4 }
pre-push: { "type": "some_operation", "virtual_op": 5 }
post-push: { "type": "some_operation", "virtual_op": 5 }
...
pre-push: { "type": "some_operation", "virtual_op": 99 }
post-push: { "type": "some_operation", "virtual_op": 99 }
post-push: { "type": "hardfork_operation", "virtual_op": 99 } <- exception: same position for diffrent operations
```
This fix introduces `virtual_operation_pushing_handler`, which keep primary notification, so situation from above is fixed into this:
```
pre-push: { "type": "hardfork_operation", "virtual_op": 3 }
pre-push: { "type": "some_operation", "virtual_op": 4 }
post-push: { "type": "some_operation", "virtual_op": 4 }
pre-push: { "type": "some_operation", "virtual_op": 5 }
post-push: { "type": "some_operation", "virtual_op": 5 }
...
pre-push: { "type": "some_operation", "virtual_op": 99 }
post-push: { "type": "some_operation", "virtual_op": 99 }
post-push: { "type": "hardfork_operation", "virtual_op": 3 }
```
@Ickiewicz @dan @bwronaKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/308pushing of account_created_operation moved to post transaction processing pha...2021-11-24T15:24:19ZKrzysztof Mochockikmochocki@syncad.compushing of account_created_operation moved to post transaction processing phase in apply_blockrelated to: https://gitlab.syncad.com/hive/hive/-/merge_requests/296
Field `trx_in_block` in operation notification hived have two roles: represent position of transaction in block and determining is given operation comes from evaluatio...related to: https://gitlab.syncad.com/hive/hive/-/merge_requests/296
Field `trx_in_block` in operation notification hived have two roles: represent position of transaction in block and determining is given operation comes from evaluation of [normal] operation, or it comes from internal hived actions (e.g. hardforks).
If some virtual operation is type 2 (comes from internal chain actions) `trx_in_block` is set to -1, otherwise it "points to" a transaction that contains an operation which is direct parent of given virtual operation.
After !296 four new virtual operations appear in account_history; all of them are `account_created_operation`. In current version all of them has `trx_in_block` set to 0 which suggest there is an operation they refer to, which does not exist.
My proposal is to change these virtual operation from type 1 (comes from normal operation) to type 2, by moving the place in code where these vops are generated.
In database made by `sql_serializer` it makes inconsistency, because if `trx_in_block` is _not_ set to -1, there is performed lookup for referred operation. By changing type of those 4 operation it's clear that these are system accounts, everybody who needs information about account creation are also informed and consistency is kept.
I've added quick comparison in attachment
![comparison](/uploads/d374648aaa4c46ec621fb2dcd562d1a0/comprasion.png)
@bwrona @IckiewiczKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/304Updated account_history_api(_negative) patterns2021-11-03T14:26:39ZKrzysztof Mochockikmochocki@syncad.comUpdated account_history_api(_negative) patternsrelated to !289
Patterns doesn not include fixes of missing fields, integer overflow and [new virtual operations](https://gitlab.syncad.com/hive/hive/-/commit/8a5600140cd38f32f41e20d8a5662a08777fc3e6) (shift of ids)
@bwronarelated to !289
Patterns doesn not include fixes of missing fields, integer overflow and [new virtual operations](https://gitlab.syncad.com/hive/hive/-/commit/8a5600140cd38f32f41e20d8a5662a08777fc3e6) (shift of ids)
@bwronaKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/232added new option '--exit-before-replay'2021-09-21T11:31:18ZKrzysztof Mochockikmochocki@syncad.comadded new option '--exit-before-replay'related to: https://gitlab.syncad.com/hive/hive/-/issues/66
@gandalf @bwrona @Trelarelated to: https://gitlab.syncad.com/hive/hive/-/issues/66
@gandalf @bwrona @TrelaKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/45Delegate rc feature2021-02-14T20:27:31ZHowoDelegate rc featureHowoHowohttps://gitlab.syncad.com/hive/hive/-/merge_requests/112Block log to json2020-09-15T13:19:37ZKrzysztof Mochockikmochocki@syncad.comBlock log to jsonadded tool to convert block_log to json
@bwrona @gandalfadded tool to convert block_log to json
@bwrona @gandalfKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/2Slow dao convert feature2020-08-16T02:04:27ZHowoSlow dao convert featureHowoHowohttps://gitlab.syncad.com/hive/hive/-/merge_requests/87Added new python class to make `config.ini` generation smoother with IDE hints2020-07-24T10:00:55ZKrzysztof Mochockikmochocki@syncad.comAdded new python class to make `config.ini` generation smoother with IDE hints@bwrona@bwronaKrzysztof Mochockikmochocki@syncad.comKrzysztof Mochockikmochocki@syncad.comhttps://gitlab.syncad.com/hive/hive/-/merge_requests/80Added tests for snapshots2020-07-24T10:00:46ZKrzysztof Mochockikmochocki@syncad.comAdded tests for snapshotsRelated to https://gitlab.syncad.com/blocktrades/hive/-/issues/47
@Trela @bwrona Related to https://gitlab.syncad.com/blocktrades/hive/-/issues/47
@Trela @bwrona https://gitlab.syncad.com/hive/hive/-/merge_requests/33Fix input/output filter mismatch on the by_author_last_update order of list_c...2020-06-01T13:40:09ZHowoFix input/output filter mismatch on the by_author_last_update order of list_commentFixes #18
I double checked if using by_last_update was actually there on purpose, but in the end this is indeed a bug.Fixes #18
I double checked if using by_last_update was actually there on purpose, but in the end this is indeed a bug.0.24.0HowoHowohttps://gitlab.syncad.com/hive/hive/-/merge_requests/34RC delegation feature2020-04-19T13:14:49ZHowoRC delegation featurefixes #15
I ported a lot of changes from the smt branch then made modifications to it to make it work on the current version of the chain. I am still undecided to what extent we should add some of the SMTs changes (like resources costs...fixes #15
I ported a lot of changes from the smt branch then made modifications to it to make it work on the current version of the chain. I am still undecided to what extent we should add some of the SMTs changes (like resources costs) but I figured we might as well leave them there and use them when we work on smts.
I did a bit of testing, but I still need to test it on a replayed node.HowoHowohttps://gitlab.syncad.com/hive/hive/-/merge_requests/1Remove all delegations and steem/sp/sbd from steemit accounts2020-03-17T23:17:22ZHowoRemove all delegations and steem/sp/sbd from steemit accountsSmall test suite using cli_wallet :
```
create_account "initminer" "steem" "" true
create_account "initminer" "steemit" "" true
transfer_to_vesting "initminer" "steemit" "10000.000 TESTS" true
transfer_to_vesting "initminer" "s...Small test suite using cli_wallet :
```
create_account "initminer" "steem" "" true
create_account "initminer" "steemit" "" true
transfer_to_vesting "initminer" "steemit" "10000.000 TESTS" true
transfer_to_vesting "initminer" "steem" "5000.000 TESTS" true
delegate_vesting_shares steemit initminer "300.000000 VESTS" true
delegate_vesting_shares steemit steem.dao "100.000000 VESTS" true
delegate_vesting_shares steemit steem "100.000000 VESTS" true
transfer_to_savings initminer steemit "2500.000 TESTS" "" true
transfer_to_savings initminer steemit "2500.000 TBD" "" true
transfer_from_savings steemit 1 steemit "2500.000 TBD" "" true
transfer_from_savings steemit 2 steemit "2500.000 TESTS" "" true
transfer initminer steemit "2500.000 TESTS" "" true
transfer initminer steemit "2500.000 TBD" "" true
escrow_transfer steemit initminer steem 1 "2500.000 TBD" "2500.000 TESTS" "0.000 TESTS" "2025-05-05T05:08:33" "2026-05-05T05:08:33" "{}" true
```
HowoHowo