This repository was archived by the owner on Jul 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
src/main/java/org/hyperledger/besu/plugin/services/tracer Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Calculated : ${currentHash}
7171tasks. register(' checkAPIChanges' , FileStateChecker ) {
7272 description = " Checks that the API for the Plugin-API project does not change without deliberate thought"
7373 files = sourceSets. main. allJava. files
74- knownHash = ' V3YwoXiJjbbrtpr7DmbebhJwAcj40J/3gb6VZcoFlF8 ='
74+ knownHash = ' 2b6i9SVzINvYv2E4yHk10d6ad+pzA12xsMltKghnW+U ='
7575}
7676check. dependsOn(' checkAPIChanges' )
7777
Original file line number Diff line number Diff line change @@ -33,6 +33,17 @@ public interface BlockAwareOperationTracer extends OperationTracer {
3333 */
3434 BlockAwareOperationTracer NO_TRACING = new BlockAwareOperationTracer () {};
3535
36+ /**
37+ * Trace the start of a block. Notice: This method has been marked for removal and will be removed
38+ * in a future version. Avoid using it and use {@link #traceStartBlock(BlockHeader, BlockBody,
39+ * Address)} instead.
40+ *
41+ * @param blockHeader the header of the block which is traced
42+ * @param blockBody the body of the block which is traced
43+ */
44+ @ Deprecated
45+ default void traceStartBlock (final BlockHeader blockHeader , final BlockBody blockBody ) {}
46+
3647 /**
3748 * Trace the start of a block.
3849 *
@@ -51,6 +62,16 @@ default void traceStartBlock(
5162 */
5263 default void traceEndBlock (final BlockHeader blockHeader , final BlockBody blockBody ) {}
5364
65+ /**
66+ * When building a block this API is called at the start of the process. Notice: This method has
67+ * been marked for removal and will be removed in a future version. Avoid using it and use {@link
68+ * #traceStartBlock(ProcessableBlockHeader, Address)} instead.
69+ *
70+ * @param processableBlockHeader the processable header
71+ */
72+ @ Deprecated
73+ default void traceStartBlock (final ProcessableBlockHeader processableBlockHeader ) {}
74+
5475 /**
5576 * When building a block this API is called at the start of the process
5677 *
You can’t perform that action at this time.
0 commit comments