github hashgraph/hedera-mirror-node v0.18.0

latest releases: v0.121.0-rc1, v0.120.1, v0.120.0...
4 years ago

Building upon the availability of the State Proof Alpha REST API in the last release, we've added sample code in JavaScript to retrieve the state proof from a mirror node and locally verify it. This allows users to obtain cryptographic proof that a particular transaction took place on Hedera. The validity of the proof can be checked independently to ensure that the supermajority of Hedera mainnet stake had reached consensus on that transaction. Similar to the promise of the state proofs on the main nodes, the user can trust this state proof alpha served by the mirror nodes, even when the user does not trust them.

Importer can now be configured to connect to Amazon S3 using temporary security credentials via AssumeRole. With this, a user that does not have permission to access an AWS resource can request a temporary role that will grant them that permission. See the configuration documentation for more information.

Importer also added two new properties to control the subset of data it should download and validate. The hedera.mirror.importer.startDate property can be used to exclude data from before this date and "fast-forward" to a point in time of interest. By default, the startDate will be set to the current time so mirror node operators can get up and running quicker with the latest data and reduce cloud storage retrieval costs. Note that this property only applies on the importer's first startup and can't be changed after that. The hedera.mirror.importer.endDate property can be used to exclude data after this date and halt the importer. By default it is set to a date far in the future so it will effectively never stop.

Breaking Changes

The aforementioned startDate property does change how the mirror node operators on initial start from previous releases. By defaulting to now, users standing up a new mirror node will no longer retrieve all historical data and will instead only retrieve the latest data. Current users upgrading to this release will not be affected even if their data ingest is not fully caught up since this property only applies if the database is empty like it is on first start. To revert to the previous behavior, a date in the past can be specified like the Unix epoch 1970-01-01T00:00:00Z.

Enhancements

  • Bump versions for v0.18.0 #1012
  • Bump versions for 0.18.0-rc1 #991
  • Adding AWS AssumeRole support to Importer #971
  • Performance test HighTPS HCS publish improvements #970
  • State proof js demo #969
  • Import latest property #966
  • Moved RecordFileParser file system logic to RecordFilePoller #936
  • AWS AssumeRole support #900
  • JavaScript state proof sample code #866
  • Import latest property #801

Bug Fixes

  • Fix entity cache #990
  • Fix TopicMessageServiceTest.incomingMessagesWithEndTimeBefore #986
  • incomingMessagesWithEndTimeBefore fails #985
  • Add a drop.sql script for OPS usage when resetting the mirror node to… #973
  • Fix the issue gRPC notify thread blocked #965
  • gRPC API notify thread blocks and cancels subscribers #945
  • Duplicate key violation error after importer restart #899

Dependency Upgrades

  • Bump sdk from 1.1.5 to 1.2.0 #982
  • Bump reporting-plugin from 4.0.70 to 4.0.77 #981
  • Bump embedded.testcontainers.version from 1.62 to 1.81 #980
  • Bump axios from 0.19.2 to 0.20.0 in /hedera-mirror-rest #979
  • Bump pretty-quick from 2.0.1 to 3.0.0 in /hedera-mirror-rest #978
  • Bump pg from 8.3.0 to 8.3.2 in /hedera-mirror-rest #977
  • Bump aws-sdk from 2.734.0 to 2.738.0 in /hedera-mirror-rest #976
  • Bump jest from 26.4.0 to 26.4.2 in /hedera-mirror-rest/monitoring/monitor_apis #975
  • Bump jest from 26.4.0 to 26.4.2 in /hedera-mirror-rest #974
  • Bump jib-maven-plugin from 2.5.0 to 2.5.2 #964
  • Bump grpc-netty-shaded from 1.27.2 to 1.30.2 #963
  • Bump grpc.version from 1.31.0 to 1.31.1 #962
  • Bump spring-boot-starter-parent from 2.2.7.RELEASE to 2.3.3.RELEASE #961
  • Bump reporting-plugin from 4.0.66 to 4.0.70 #960
  • Bump aws-sdk from 2.725.0 to 2.734.0 in /hedera-mirror-rest #959
  • Bump jest from 26.2.2 to 26.4.0 in /hedera-mirror-rest #958
  • Bump testcontainers from 3.2.0 to 3.4.0 in /hedera-mirror-rest #957
  • Bump lodash from 4.17.19 to 4.17.20 in /hedera-mirror-rest #956
  • Bump sinon from 9.0.2 to 9.0.3 in /hedera-mirror-rest #955
  • Bump jest from 26.2.2 to 26.4.0 in /hedera-mirror-rest/monitoring/monitor_apis #954

Contributors

We'd like to thank all the contributors who worked on this release!

Don't miss a new hedera-mirror-node release

NewReleases is sending notifications on new releases.