Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: iotaledger/inx-chronicle
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0-beta.36
Choose a base ref
...
head repository: iotaledger/inx-chronicle
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Mar 14, 2023

  1. feat(cli)!: consolidate fill analytics once again (#1186)

    * Consolidate fill analytics once again
    
    * typo
    
    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    
    ---------
    
    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    Alexandcoats and Alex6323 authored Mar 14, 2023
    Copy the full SHA
    5c4733f View commit details

Commits on Mar 15, 2023

  1. fix(db)!: use address for unlock condition indexes (#1189)

    * Fix address unlock condition indexes
    
    * Add migration
    
    * Condense indexes with owning address
    
    * Update chronicle version to match migration
    Alexandcoats authored Mar 15, 2023
    Copy the full SHA
    d4fc220 View commit details
  2. chore(db): clean up aggregate calls (#1192)

    Clean up aggregate calls
    Alexandcoats authored Mar 15, 2023
    Copy the full SHA
    473b108 View commit details

Commits on Mar 16, 2023

  1. chore(deps): bump dependencies (#1193)

    Bump dependencies
    Alexandcoats authored Mar 16, 2023
    Copy the full SHA
    daa5efa View commit details

Commits on Mar 17, 2023

  1. chore(wiki): add sync and analytics wiki page (#1177)

    * Add sync and analytics wiki page
    
    * Add a few more sections with chronicle quirks
    
    * Add Docker setup guide
    
    * Improve guide; Address comments
    
    * More cleanup
    
    * More fixes
    
    * Add environment file preparation info, and more
    
    * I cannot write
    
    * Add JWT info
    
    * Reorg docker docs
    
    * Little more detail
    
    * Add bit about env and fix docker compose
    
    * Add blurb about .env file
    
    * Add ENV defaults
    
    * Update documentation/docs/reference/sync_and_analytics.md
    
    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    
    * Update documentation/docs/reference/sync_and_analytics.md
    
    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    
    ---------
    
    Co-authored-by: Alexander Schmidt <alexander.schmidt@iota.org>
    Alexandcoats and Alex6323 authored Mar 17, 2023
    Copy the full SHA
    53de770 View commit details
  2. fix(db): remove parents index and fix the query (#1195)

    * Remove parents index, use hint instead
    
    * Fix children query
    
    * Imports
    Alexandcoats authored Mar 17, 2023
    Copy the full SHA
    87eaa5e View commit details

Commits on Mar 20, 2023

  1. fix(api): only perform write ops if a write feature is enabled (#1200)

    * Only perform write ops if a write feature is enabled
    
    * Bail if migration doesn't match in read-only
    Alexandcoats authored Mar 20, 2023
    Copy the full SHA
    81db125 View commit details
  2. fix(logging): cannot migrate error message (#1199)

    * Unwrap last migration id or 0
    
    * improve
    Alex6323 authored Mar 20, 2023
    Copy the full SHA
    6cbde1b View commit details
  3. chore: release v1.0.0-beta.37 (#1206)

    release v1.0.0-beta.37
    Alexandcoats authored Mar 20, 2023
    Copy the full SHA
    8f35949 View commit details

Commits on Mar 21, 2023

  1. chore(cleanup): spring cleaning (#1207)

    * honest fn args
    
    * chronicle app name constant
    
    * nit
    
    * be consistent
    
    * propagate sigterm error
    
    * cleanup interrupt fn
    
    * address review comment
    
    * address review comment 2
    Alex6323 authored Mar 21, 2023
    Copy the full SHA
    c739bd1 View commit details

Commits on Mar 22, 2023

  1. fix(inx): prevent writing potentially wrong node configuration to db (#…

    …1208)
    
    * fix
    
    * remove the call from init
    Alex6323 authored Mar 22, 2023
    Copy the full SHA
    2c33e3f View commit details
  2. chore: release v1.0.0-rc.1 🎉 (#1210)

    release v1.0.0-rc.1
    Alexandcoats authored Mar 22, 2023
    Copy the full SHA
    0fd5d34 View commit details

Commits on Apr 13, 2023

  1. chore(deps): bump h2 from 0.3.16 to 0.3.17 (#1221)

    Bumps [h2](https://github.com/hyperium/h2) from 0.3.16 to 0.3.17.
    - [Release notes](https://github.com/hyperium/h2/releases)
    - [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
    - [Commits](hyperium/h2@v0.3.16...v0.3.17)
    
    ---
    updated-dependencies:
    - dependency-name: h2
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Apr 13, 2023
    Copy the full SHA
    5e874d9 View commit details

Commits on Apr 14, 2023

  1. Rename api-poi.yaml to api-poi.yml (#1219)

    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    Dr-Electron and Alex6323 authored Apr 14, 2023
    Copy the full SHA
    b4b4112 View commit details

Commits on Apr 17, 2023

  1. Update wiki cli (#1220)

    Co-authored-by: /alex/ <alexander.schmidt@iota.org>
    Dr-Electron and Alex6323 authored Apr 17, 2023
    Copy the full SHA
    d04e1a4 View commit details

Commits on Apr 27, 2023

  1. chore(docker): update grafana image to oss (#1197)

    Update grafana image to oss
    Alexandcoats authored Apr 27, 2023
    Copy the full SHA
    0d1628a View commit details

Commits on May 9, 2023

  1. fix: forward worker errors to main exit code (#1230)

    * Forward worker errors to main exit code
    
    * Allow failed subscribes to shutdown with error
    Alexandcoats authored May 9, 2023
    Copy the full SHA
    6702440 View commit details

Commits on May 10, 2023

  1. chore(logging): rephrase logs during shutdown (#1232)

    * rephrase logs during shutdown
    
    * rephrase logs during shutdown (round 2)
    
    * word
    Alex6323 authored May 10, 2023
    Copy the full SHA
    cd35a87 View commit details

Commits on Jun 29, 2023

  1. Wiki - Deleted documentation folder as it's moved to the wiki (#1240)

    * delete docusaurus documentation as it's been moved to the wiki
    
    * delete docs build workflow
    lucas-tortora authored Jun 29, 2023
    Copy the full SHA
    6748901 View commit details

Commits on Aug 24, 2023

  1. Copy the full SHA
    1fd6f19 View commit details

Commits on Aug 28, 2023

  1. Copy the full SHA
    f716ea5 View commit details

Commits on Sep 12, 2023

  1. chore(deps)!: use iota-sdk and remove dependency causing security a…

    …lert (#1247)
    
    * Update ed25519-dalek and some other deps
    
    * Use iota-sdk
    
    * Update influxdb
    
    * fix doc CI
    
    * lint
    
    * remove unstable lints
    
    * Add zeroize feature to ed25519
    Alexandcoats authored Sep 12, 2023
    Copy the full SHA
    02f0e0b View commit details
  2. update dependencies (#1271)

    Alexandcoats authored Sep 12, 2023
    Copy the full SHA
    ed184c8 View commit details
  3. chore: release v1.0.0-rc.2 (#1272)

    release 1.0.0-rc.2
    Alexandcoats authored Sep 12, 2023
    Copy the full SHA
    3600734 View commit details

Commits on Nov 1, 2023

  1. update dependencies

    Alex Coats committed Nov 1, 2023
    Copy the full SHA
    0e9eadf View commit details
  2. use pretty assertions

    Alex Coats committed Nov 1, 2023
    Copy the full SHA
    bc23b23 View commit details

Commits on Jan 22, 2024

  1. chore: update iota_sdk dependency to fix a validation bug

    Alex Coats committed Jan 22, 2024
    Copy the full SHA
    c652537 View commit details
  2. chore: release v1.0.0-rc.3 (#1323)

    * chore: release v1.0.0-rc.3
    
    * fix some deprecated method usage
    DaughterOfMars authored Jan 22, 2024
    Copy the full SHA
    3d96ce4 View commit details

Commits on Jan 24, 2024

  1. Consider expiration return addresses for ledger updates (#1314)

    * Consider expiration return addresses for ledger updates
    
    * fix import
    
    * update spent outputs in migration
    
    * Improve balance endpoint
    
    * fmt
    
    * optimized migration
    
    * DRY
    
    * update analytics
    
    * improve index usage for balance
    
    * fix balance calculation
    
    * invert expiration checks
    
    * more fixes for balance calculation
    
    * nor does not exist for aggregation 🤷‍♀️
    
    * refine query more
    
    * update deps
    
    * update api spec
    DaughterOfMars authored Jan 24, 2024
    Copy the full SHA
    ca605a7 View commit details
  2. chore: release v1.0.0-rc.4 (#1324)

    chore: release v1.0.0-rc.4
    DaughterOfMars authored Jan 24, 2024
    Copy the full SHA
    8668d4f View commit details

Commits on Feb 22, 2024

  1. fix(analytics): account for outputs with amount less than min deposit (

    …#1334)
    
    * fix(analytics): account for outputs with amount less than min deposit in ledger size analytics
    
    * dependencies
    
    * fix address balance analytics
    DaughterOfMars authored Feb 22, 2024
    Copy the full SHA
    d7ad6dd View commit details
Showing with 2,799 additions and 13,432 deletions.
  1. +7 −0 .env.template
  2. +0 −28 .github/workflows/test-iota-docs-build.yml
  3. +60 −0 CHANGELOG.md
  4. +1,542 −737 Cargo.lock
  5. +14 −14 Cargo.toml
  6. +1 −0 README.md
  7. +2 −3 docker/{prepare_docker.sh → create_dirs.sh}
  8. +3 −2 docker/docker-compose.yml
  9. +0 −30 documentation/.gitignore
  10. +0 −1 documentation/.yarnrc.yml
  11. +0 −32 documentation/README.md
  12. +6 −6 documentation/api/api-explorer.yml
  13. 0 documentation/api/{api-poi.yaml → api-poi.yml}
  14. +0 −14 documentation/docs/changelog.md
  15. +0 −42 documentation/docs/contribute.md
  16. +0 −23 documentation/docs/getting_started/docker.md
  17. +0 −16 documentation/docs/reference/api.md
  18. +0 −53 documentation/docs/reference/authentication.md
  19. +0 −21 documentation/docs/reference/environment.md
  20. +0 −29 documentation/docs/troubleshooting.md
  21. +0 −13 documentation/docs/welcome.md
  22. +0 −18 documentation/docusaurus.config.js
  23. +0 −21 documentation/package.json
  24. +0 −69 documentation/sidebars.js
  25. 0 documentation/static/.nojekyll
  26. +0 −60 documentation/static/img/logo/iota_logo.svg
  27. +0 −11,294 documentation/yarn.lock
  28. +1 −1 src/analytics/ledger/active_addresses.rs
  29. +1 −1 src/analytics/ledger/address_balance.rs
  30. +2 −2 src/analytics/ledger/base_token.rs
  31. +8 −7 src/analytics/ledger/ledger_size.rs
  32. +13 −16 src/analytics/ledger/mod.rs
  33. +1 −1 src/analytics/ledger/transaction_size.rs
  34. +2 −1 src/analytics/mod.rs
  35. +4 −2 src/analytics/tangle/mod.rs
  36. +1 −4 src/bin/inx-chronicle/api/config.rs
  37. +4 −4 src/bin/inx-chronicle/api/core/responses.rs
  38. +70 −64 src/bin/inx-chronicle/api/core/routes.rs
  39. +4 −7 src/bin/inx-chronicle/api/error.rs
  40. +1 −0 src/bin/inx-chronicle/api/explorer/extractors.rs
  41. +1 −1 src/bin/inx-chronicle/api/explorer/responses.rs
  42. +15 −11 src/bin/inx-chronicle/api/explorer/routes.rs
  43. +1 −0 src/bin/inx-chronicle/api/extractors.rs
  44. +1 −0 src/bin/inx-chronicle/api/indexer/extractors.rs
  45. +3 −3 src/bin/inx-chronicle/api/mod.rs
  46. +1 −1 src/bin/inx-chronicle/api/poi/error.rs
  47. +1 −0 src/bin/inx-chronicle/api/poi/merkle_hasher.rs
  48. +3 −1 src/bin/inx-chronicle/api/poi/merkle_proof.rs
  49. +1 −1 src/bin/inx-chronicle/api/poi/responses.rs
  50. +7 −6 src/bin/inx-chronicle/api/poi/routes.rs
  51. +15 −25 src/bin/inx-chronicle/api/secret_key.rs
  52. +140 −122 src/bin/inx-chronicle/cli/analytics.rs
  53. +1 −0 src/bin/inx-chronicle/cli/api.rs
  54. +0 −9 src/bin/inx-chronicle/cli/mod.rs
  55. +3 −8 src/bin/inx-chronicle/inx/mod.rs
  56. +25 −13 src/bin/inx-chronicle/main.rs
  57. +39 −0 src/bin/inx-chronicle/migrations/migrate_1.rs
  58. +122 −0 src/bin/inx-chronicle/migrations/migrate_2.rs
  59. +20 −8 src/bin/inx-chronicle/migrations/mod.rs
  60. +8 −16 src/bin/inx-chronicle/process.rs
  61. +12 −19 src/db/mongodb/collections/block.rs
  62. +24 −36 src/db/mongodb/collections/ledger_update.rs
  63. +6 −5 src/db/mongodb/collections/milestone.rs
  64. +7 −5 src/db/mongodb/collections/outputs/indexer/alias.rs
  65. +3 −2 src/db/mongodb/collections/outputs/indexer/basic.rs
  66. +4 −3 src/db/mongodb/collections/outputs/indexer/foundry.rs
  67. +14 −30 src/db/mongodb/collections/outputs/indexer/mod.rs
  68. +3 −2 src/db/mongodb/collections/outputs/indexer/nft.rs
  69. +1 −27 src/db/mongodb/collections/outputs/indexer/queries.rs
  70. +71 −15 src/db/mongodb/collections/outputs/mod.rs
  71. +1 −1 src/db/mongodb/mod.rs
  72. +2 −2 src/inx/block.rs
  73. +1 −1 src/inx/ledger.rs
  74. +1 −1 src/inx/milestone.rs
  75. +1 −1 src/inx/node/config.rs
  76. +1 −1 src/inx/protocol.rs
  77. +14 −13 src/inx/raw.rs
  78. +2 −0 src/inx/request.rs
  79. +6 −1 src/lib.rs
  80. +1 −1 src/model/block/metadata/conflict_reason.rs
  81. +7 −7 src/model/block/metadata/inclusion_state.rs
  82. +26 −22 src/model/block/mod.rs
  83. +3 −3 src/model/block/payload/milestone/milestone_id.rs
  84. +3 −1 src/model/block/payload/milestone/milestone_index.rs
  85. +1 −0 src/model/block/payload/milestone/milestone_timestamp.rs
  86. +27 −26 src/model/block/payload/milestone/mod.rs
  87. +21 −18 src/model/block/payload/mod.rs
  88. +7 −6 src/model/block/payload/tagged_data.rs
  89. +4 −3 src/model/block/payload/transaction/input.rs
  90. +35 −25 src/model/block/payload/transaction/mod.rs
  91. +3 −3 src/model/block/payload/transaction/output/address/alias.rs
  92. +3 −3 src/model/block/payload/transaction/output/address/ed25519.rs
  93. +4 −3 src/model/block/payload/transaction/output/address/mod.rs
  94. +3 −3 src/model/block/payload/transaction/output/address/nft.rs
  95. +36 −40 src/model/block/payload/transaction/output/alias.rs
  96. +25 −15 src/model/block/payload/transaction/output/basic.rs
  97. +11 −10 src/model/block/payload/transaction/output/feature.rs
  98. +27 −22 src/model/block/payload/transaction/output/foundry.rs
  99. +15 −13 src/model/block/payload/transaction/output/ledger.rs
  100. +58 −37 src/model/block/payload/transaction/output/mod.rs
  101. +10 −30 src/model/block/payload/transaction/output/native_token.rs
  102. +28 −24 src/model/block/payload/transaction/output/nft.rs
  103. +7 −6 src/model/block/payload/transaction/output/treasury.rs
  104. +2 −2 src/model/block/payload/transaction/output/unlock_condition/address.rs
  105. +6 −6 src/model/block/payload/transaction/output/unlock_condition/expiration.rs
  106. +2 −2 src/model/block/payload/transaction/output/unlock_condition/governor_address.rs
  107. +3 −3 src/model/block/payload/transaction/output/unlock_condition/immutable_alias_address.rs
  108. +1 −1 src/model/block/payload/transaction/output/unlock_condition/mod.rs
  109. +2 −2 src/model/block/payload/transaction/output/unlock_condition/state_controller_address.rs
  110. +5 −5 src/model/block/payload/transaction/output/unlock_condition/storage_deposit_return.rs
  111. +3 −3 src/model/block/payload/transaction/output/unlock_condition/timelock.rs
  112. +4 −3 src/model/block/payload/transaction/unlock.rs
  113. +18 −15 src/model/block/payload/treasury_transaction.rs
  114. +1 −0 src/model/mod.rs
  115. +7 −8 src/model/protocol.rs
  116. +15 −14 src/model/signature.rs
  117. +7 −4 src/model/util/context.rs
  118. +1 −1 src/tangle/sources/inx.rs
  119. +12 −5 tests/blocks.rs
  120. +5 −4 tests/ledger_updates.rs
  121. +2 −1 tests/milestones.rs
  122. +1 −0 tests/node_configuration.rs
  123. +2 −1 tests/outputs.rs
  124. +4 −3 tests/protocol_updates.rs
  125. +3 −2 tests/treasury_updates.rs
7 changes: 7 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MONGODB_USERNAME=root
MONGODB_PASSWORD=root
INFLUXDB_USERNAME=root
INFLUXDB_PASSWORD=password
JWT_PASSWORD=password
JWT_SALT=saltines
HORNET_CONFIG_PATH=config_testnet.json
28 changes: 0 additions & 28 deletions .github/workflows/test-iota-docs-build.yml

This file was deleted.

60 changes: 60 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
## [1.0.0-rc.4](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-rc.3...v1.0.0-rc.4) (2024-01-24)

### Features

* **api:** explorer balance endpoint now returns `availableBalance` ([#1314](https://github.com/iotaledger/inx-chronicle/issues/1314)) ([ca605a7](https://github.com/iotaledger/inx-chronicle/commit/ca605a7e48b377c77a1064f83a1abe3a394b1315))

### Bug Fixes

* **db:** consider expiration return address for ledger updates ([#1314](https://github.com/iotaledger/inx-chronicle/issues/1314)) ([ca605a7](https://github.com/iotaledger/inx-chronicle/commit/ca605a7e48b377c77a1064f83a1abe3a394b1315))
* **db:** fix balance calculation ([#1314](https://github.com/iotaledger/inx-chronicle/issues/1314)) ([ca605a7](https://github.com/iotaledger/inx-chronicle/commit/ca605a7e48b377c77a1064f83a1abe3a394b1315))

## [1.0.0-rc.3](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2024-01-22)

### Miscellaneous Chores

* **deps:** update `iota-sdk` to fix validation bug

## [1.0.0-rc.2](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2023-09-12)


### ⚠ BREAKING CHANGES

* **deps:** use `iota-sdk` and remove dependency causing security alert (#1247)

### Bug Fixes

* forward worker errors to main exit code ([#1230](https://github.com/iotaledger/inx-chronicle/issues/1230)) ([6702440](https://github.com/iotaledger/inx-chronicle/commit/67024402c9d09f3f8507e54635209321196e09b8))


### Miscellaneous Chores

* **deps:** use `iota-sdk` and remove dependency causing security alert ([#1247](https://github.com/iotaledger/inx-chronicle/issues/1247)) ([02f0e0b](https://github.com/iotaledger/inx-chronicle/commit/02f0e0bbbc77986f1d0d4dc8bb90d793a99ed4fa))

## [1.0.0-rc.1](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-beta.37...v1.0.0-rc.1) (2023-03-22)


### Bug Fixes

* **inx:** prevent writing potentially wrong node configuration to db ([#1208](https://github.com/iotaledger/inx-chronicle/issues/1208)) ([2c33e3f](https://github.com/iotaledger/inx-chronicle/commit/2c33e3fcae993e7cffeffc4840f838c93496d8ae))

## [1.0.0-beta.37](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2023-03-20)


### ⚠ BREAKING CHANGES

* **db:** use address for unlock condition indexes (#1189)
* **cli:** consolidate fill analytics once again (#1186)

### Features

* **cli:** consolidate fill analytics once again ([#1186](https://github.com/iotaledger/inx-chronicle/issues/1186)) ([5c4733f](https://github.com/iotaledger/inx-chronicle/commit/5c4733f7896a2f43044c6241aa86c34801b36559))


### Bug Fixes

* **api:** only perform write ops if a write feature is enabled ([#1200](https://github.com/iotaledger/inx-chronicle/issues/1200)) ([81db125](https://github.com/iotaledger/inx-chronicle/commit/81db125cad43e8b030512e1c8047d64fad325cd5))
* **db:** remove parents index and fix the query ([#1195](https://github.com/iotaledger/inx-chronicle/issues/1195)) ([87eaa5e](https://github.com/iotaledger/inx-chronicle/commit/87eaa5ef67900a7d457560e7df821e95debd58ec))
* **db:** use address for unlock condition indexes ([#1189](https://github.com/iotaledger/inx-chronicle/issues/1189)) ([d4fc220](https://github.com/iotaledger/inx-chronicle/commit/d4fc220c03aa1ccd9f77a80859a60d59963a42e0))
* **logging:** cannot migrate error message ([#1199](https://github.com/iotaledger/inx-chronicle/issues/1199)) ([6cbde1b](https://github.com/iotaledger/inx-chronicle/commit/6cbde1b45c981b4814774c4c395870e0a51f82c9))

## [1.0.0-beta.36](https://github.com/iotaledger/inx-chronicle/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2023-03-10)


Loading