79 Commits

Author SHA1 Message Date
Kevin Heifner 6e5147fbd7 GH-1693 Fix for finding trx after starting from a snapshot. Also improve performance for nominal case of trx more likely to be in recent block 2025-07-09 09:14:39 -05:00
Kevin Heifner ad886bc96f GH-842 Change all plugin startup and shutdown log messages to debug 2024-10-16 19:21:10 -05:00
Kevin Heifner 46c3ade0d1 GH-842 No need to capture shared ptr of impl 2024-10-14 15:28:13 -05:00
Kevin Heifner 9ab21fbeb7 Move signals to controller_impl. Remove internal references to self. 2024-02-06 08:39:06 -06:00
Lin Huang 5a7714a4e4 remove more unneeded block_num parameter 2023-12-19 10:45:19 -05:00
Lin Huang 8a2fc752b0 use const block_signal_params& 2023-12-18 16:39:45 -05:00
Lin Huang 7c4ca8a5df do not emit signed_block_header and block_num; use a single block_signal_params type 2023-12-18 13:34:46 -05:00
Lin Huang 0799e673ab remove signed_block_header from irreversible_block signal 2023-12-17 14:23:06 -05:00
Lin Huang e7a87172a9 change irreversible_block to signal only required information 2023-12-17 09:57:16 -05:00
Lin Huang 360f3ba90e make accepted_blocks signal information only needed 2023-12-16 21:43:27 -05:00
Lin Huang 14287b0ca1 rename block_state to block_state_legacy and block_header_state to block_header_state_legacy 2023-12-05 16:35:37 -05:00
Kevin Heifner 1186b830b8 Merge remote-tracking branch 'origin/release/4.0' into GH-1433-trace-api-main 2023-07-31 06:54:37 -05:00
Kevin Heifner c4e0ad19ee Merge remote-tracking branch 'origin/release/3.2' into GH-1433-trace-api-4.0 2023-07-28 14:04:10 -05:00
Kevin Heifner 8698724572 GH-1433 rethrow exception so API can report error to user 2023-07-25 15:16:44 -05:00
Kevin Heifner 079c650f9a Merge remote-tracking branch 'origin/main' into GH-1062-time-limits 2023-05-15 09:27:10 -05:00
Kevin Heifner cb1b52de82 GH-1062 Remove deadline since we no longer want to interrupt json creation on the http thread 2023-05-05 13:28:02 -05:00
Huang-Ming Huang 6fb23ca8e4 support multiple http endpoints 2023-05-05 09:31:05 -05:00
Kevin Heifner bbeafe9eff GH-1062 Remove deadline from trace_api_plugin 2023-05-02 11:40:43 -05:00
Huang-Ming Huang d15d16b0be replace boost::filesystem 2023-04-11 14:51:47 -05:00
Kevin Heifner 2c0b46f70f GH-659 Move initialization of logging before plugin_initialize so configured logging works as expected 2023-02-24 21:33:55 -06:00
Kevin Heifner dd59a99722 Merge pull request #696 from AntelopeIO/GH-677-get-block
Move get_block abi serialization off the main thread
2023-02-15 07:24:13 -06:00
Kevin Heifner 62903c04ab GH-677 Use std::move for abi into abi_serializer to avoid string copies. 2023-02-07 11:58:41 -06:00
greg7mdp 7f0b67f6b8 call register_plugin() as a static member, so that static variable initializers don't create an application instance before the program is started. 2023-01-31 16:53:43 -05:00
greg7mdp fb12fe627f Update appbase/plugins to support multiple instances/exe 2023-01-12 18:05:16 -05:00
Kevin Heifner 2c751798fa Merge remote-tracking branch 'origin/release/3.1' into GH-535-trace-api-3.2 2022-12-09 06:19:45 -06:00
Kevin Heifner 57b0acb59c GH-535 Add log of shutdown complete. 2022-12-06 09:54:01 -06:00
Kevin Heifner 16cd06db1c GH-229 Remove #pragma to ignore strict-aliasing warning from chain_plugin. Also removed pragma to ignore unused-variable from config.hpp. All other changes were to address the removal the ignore unused-variable. 2022-09-27 16:28:08 -05:00
Kevin Heifner 06ac1bcc8c Use http-max-response-time for limit on complete run of http call including time for main thread and http thread. Puts limit on complete execution including conversion to JSON. 2022-09-02 10:41:30 -05:00
Lin Huang 8d7d0411bd trace_api_plugin.cpp: remove trace_api_plugin_impl::set_program_options
it was an empty static function
2022-08-22 11:36:56 -04:00
Lin Huang cc7489021a fix compile warnings in trace_api_plugin 2022-08-22 10:22:59 -04:00
Lin Huang eb850dd2e8 Merge pull request #9196 from EOSIO/dev-resource-monitor-plugin
Resource monitor plugin -- develop branch
2022-05-20 15:34:45 -05:00
Jonathan Giszczak a77a7059ec Address review comments. 2022-05-17 19:58:33 -05:00
Kevin Heifner e07fe4365d Fix merge issues. 2022-05-13 00:05:00 -04:00
Jonathan Giszczak 7ffd2c52ab Remove history_plugin
Does not pass all tests yet.
2022-05-12 19:42:50 -05:00
Kevin Heifner 92116f842b Change applied_transaction signal signature to match eosio/eos 2.1+. Also ported other non-pruning changes from https://github.com/EOSIO/eos/pull/8900. 2022-03-29 21:43:36 -05:00
Steven Watanabe 1fe4aef8ba Replace fc::optional with std::optional
Cherry-picked from 9a10d219625ddab6716a10b44c8b1d6cc4a9c6ff with
adaptation to 2.0.x.
2022-01-28 11:18:42 -05:00
Bucky Kittinger f5e565adef Revert "Initial checkin of resource monior plugin" 2020-07-09 17:40:47 -04:00
Lin Huang 8241509bfd Merge pull request #9098 from EOSIO/resource-monitor-plugin
Initial checkin of resource monior plugin
2020-06-09 16:00:39 -04:00
Kevin Heifner 3d671bf2f6 Use new block_start signal as reliable way to clear out cached transaction state 2020-06-03 10:43:31 -05:00
Lin Huang 15e74a4a57 Incorporating Kevin's comments (will refactor unit test cases and change bash script to python tomorrow) 2020-06-01 16:00:24 -05:00
Lin Huang 145e9a7092 Refactor to support testability (using templates), add automatic unit and integration test cases, terminate thread right after plugin shutdown, and make apps register monitored directories 2020-05-31 20:26:08 -05:00
oldcold 04b3e7a7be add more info in block trace & transaction trace. 2020-04-25 01:27:03 +08:00
Bart Wyatt 76b0968a54 use http async api support for trace get_block 2020-03-25 16:00:36 -04:00
Bart Wyatt cc729e5bd8 unit tests for 0 seek points, better edge case handling in read/seek 2020-03-20 12:22:51 -04:00
Bart Wyatt 8ed5414f2e merge release/2.0.x @ 302f17d4e2 2020-03-18 16:23:31 -04:00
Bart Wyatt 48e36e061b remove trace-compression-seek-points from nodeos. users who need fine grained control should use the compress_trace utility and their own process. The default is sane for most use-cases and it is hard-coded for now 2020-03-18 13:15:13 -04:00
Bart Wyatt 776fd7d50f fix signed/unsigned mismatch preventing configs from surviving 2020-03-17 17:41:03 -04:00
Bart Wyatt a23aae703c fix bad string name of options 2020-03-17 17:21:23 -04:00
Bart Wyatt cdf5e87ec0 rename option and fix bad compare 2020-03-17 17:18:09 -04:00
Bart Wyatt 2de680851a logging for maintenance thread 2020-03-17 17:10:32 -04:00