BlockAdded and BlockReorg events listed (#728)

* BlockAdded and BlockReorg events listed

BlockAdded and BlockReorg events included in the JavaDoc list of currently supported events for BesuEvents

Signed-off-by: grantnoble <grant.noble@consensys.net>

* Updated based on feedback from @shemnon (Danno Ferrin)

Signed-off-by: grantnoble <grant.noble@consensys.net>

* edit

Signed-off-by: Madeline <madeline.murray@consensys.net>

* edit

Signed-off-by: Madeline <madeline.murray@consensys.net>

* updating plugin api checksum

Signed-off-by: Usman Saleem <usman@usmans.info>

Co-authored-by: MadelineMurray <43356962+MadelineMurray@users.noreply.github.com>
Co-authored-by: Madeline <madeline.murray@consensys.net>
Co-authored-by: Usman Saleem <usman@usmans.info>
pull/779/head
Grant Noble 5 years ago committed by GitHub
parent fa430452f1
commit cc233ef353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugin-api/build.gradle
  2. 3
      plugin-api/src/main/java/org/hyperledger/besu/plugin/services/BesuEvents.java

@ -65,7 +65,7 @@ Calculated : ${currentHash}
tasks.register('checkAPIChanges', FileStateChecker) {
description = "Checks that the API for the Plugin-API project does not change without deliberate thought"
files = sourceSets.main.allJava.files
knownHash = 'NBD1ERyo7NhRpiiRvFg1s5O7mulJGUAOJNldnzhD3M4='
knownHash = 'doKb8cPvi1nrWJ2Mqi+D9Yw2lzFUMWm/LNcvJtuaGKw='
}
check.dependsOn('checkAPIChanges')

@ -32,6 +32,9 @@ import org.apache.tuweni.bytes.Bytes32;
* <p>Currently supported events
*
* <ul>
* <li><b>BlockAdded</b> - Fired when a new block has been evaluated and validated.
* <li><b>BlockReorg</b> - Fired when a block is removed from the chain to change to a different
* chainhead.
* <li><b>BlockPropagated</b> - Fired when a new block header has been received and validated and
* is about to be sent out to other peers, but before the body of the block has been evaluated
* and validated.

Loading…
Cancel
Save