Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
530c020
fix the stress test tool
Federico2014 Sep 22, 2025
9486a28
update loki for FullNode default config
Sep 25, 2025
b3f5309
update max
Sep 25, 2025
8ff401c
update promethues
Sep 25, 2025
5c2e68a
query the voters of witness
Federico2014 Oct 31, 2025
1ac34af
remove the log
Federico2014 Oct 31, 2025
28f1210
query the active witnesses
Federico2014 Nov 3, 2025
1d738ae
add the query doc
Federico2014 Nov 3, 2025
b18a0b4
factor the DbFork
Federico2014 Nov 3, 2025
f92a084
print witness votes count
Federico2014 Nov 4, 2025
cb71bc2
modify the proposal parameters
Federico2014 Nov 5, 2025
3f6256d
fix the check style
Federico2014 Nov 5, 2025
228f4ea
Merge pull request #96 from Federico2014/fix/stress_test
kuny0707 Dec 2, 2025
0fe3b87
fix the statistic
Federico2014 Dec 3, 2025
2ccd894
add the block number
Federico2014 Dec 3, 2025
d6d6183
feat: add support for building and testing arm64 Docker images
3for Dec 8, 2025
e0db346
Merge pull request #101 from 3for/feat/arm64
kuny0707 Dec 8, 2025
452db5d
feat(docker): add multi-platform Docker manifest support
3for Dec 9, 2025
2b3f818
Merge pull request #102 from 3for/feat/arm64
kuny0707 Dec 9, 2025
a18ce85
optimize the readme
Federico2014 Dec 11, 2025
2a40e61
Add go SR check
warku123 Dec 26, 2025
8bea3b4
add docker config
warku123 Dec 26, 2025
e1adb27
change go version
warku123 Dec 26, 2025
27203f8
Update URL to account name
warku123 Dec 29, 2025
f4d8bb1
Change output format
warku123 Dec 29, 2025
0bb37bf
Delete previous vote output
warku123 Dec 30, 2025
9ef9e76
Add sr change check
warku123 Dec 30, 2025
2cc3203
Add the readme
warku123 Jan 4, 2026
730864d
Add log directory and also log file
warku123 Jan 4, 2026
6ae03d6
Merge branch 'develop' of github.com:tronprotocol/tron-docker into de…
Little-Peony Jan 12, 2026
c849d18
update retry related config for prometheus
Little-Peony Jan 12, 2026
a494086
update timeout
Little-Peony Jan 12, 2026
aa0b326
update prometheus to use latest docker image
Little-Peony Jan 13, 2026
1083b5d
Modify print format
warku123 Jan 14, 2026
e5bba78
Delete unnecessary message
warku123 Jan 14, 2026
ad9955b
Merge remote-tracking branch 'upstream/develop' into develop
Federico2014 Jan 15, 2026
b65b5ac
Merge pull request #103 from Federico2014/develop
kuny0707 Jan 15, 2026
78f55a0
update toolkit based java-tron-v4.8.1
Federico2014 Jan 26, 2026
28cbf7b
fix the error
Federico2014 Jan 26, 2026
ad2f03c
add the DbFork and DbQuery
Federico2014 Jan 26, 2026
520621b
rm the useless code
Federico2014 Jan 26, 2026
514c408
fix the format
Federico2014 Jan 26, 2026
9dcbf20
fix the format
Federico2014 Jan 26, 2026
eb768b2
support arm64 rocksdb
warku123 Jan 27, 2026
ef49e8b
modify build.gradle
warku123 Jan 27, 2026
785ff61
build.gradle arm64 support
warku123 Jan 27, 2026
9a632a2
update build tag
warku123 Jan 27, 2026
9643f17
Merge pull request #1 from warku123/toolkit_update_test
Federico2014 Jan 28, 2026
8e4b7a7
update the gradle
Federico2014 Jan 28, 2026
e7bd2d5
Merge branch 'develop' of github.com:tronprotocol/tron-docker into de…
Little-Peony Mar 2, 2026
059d189
fix plain private key
Little-Peony Mar 2, 2026
19aab58
update minio credential comments
Little-Peony Mar 2, 2026
9eeee01
fix ssh risk
Little-Peony Mar 2, 2026
bd38266
feat(docker): enable tcmalloc for x86 image
3for Mar 4, 2026
cd111a7
reverse gen docs command
Little-Peony Mar 9, 2026
1ef64a5
fix CI/CD risk
Little-Peony Mar 9, 2026
9a09c88
update *.toml
Little-Peony Mar 9, 2026
a593cfe
fix issue template
abn2357 Mar 10, 2026
25721ea
fix CONTRIBUTING
abn2357 Mar 10, 2026
83741e3
fix format errors
abn2357 Mar 10, 2026
a7c539c
Simplify a sentence
abn2357 Mar 10, 2026
fdf41b0
fix toc of request-a-feature.md
abn2357 Mar 10, 2026
e3760e2
fix "Push code" to "Submit a pull request"
abn2357 Mar 10, 2026
6b7225d
run pre-commit check
abn2357 Mar 10, 2026
62f75a4
fix "Synchronize and Develop" since the "develop" branch does not exi…
abn2357 Mar 10, 2026
5d919e0
Merge pull request #97 from Sunny6889/develop
kuny0707 Mar 11, 2026
651bf0e
Merge branch 'develop' of github.com:tronprotocol/tron-docker into de…
Little-Peony Mar 11, 2026
6c0a705
Merge branch 'develop' into fix_risk_scan
Little-Peony Mar 11, 2026
bb1d66c
Merge pull request #111 from abn2357/fix_issue_template
kuny0707 Mar 11, 2026
e84c235
Merge pull request #112 from abn2357/fix_contributing
kuny0707 Mar 11, 2026
8dd7dbf
fix checkstyle.sh
Little-Peony Mar 11, 2026
8bd0859
fix checkstyle.sh
Little-Peony Mar 11, 2026
4f6cab8
fix ssh.go RCE risk
Little-Peony Mar 11, 2026
340ca25
fix Symlink risk
Little-Peony Mar 11, 2026
fbd685d
remove docker user root
Little-Peony Mar 11, 2026
9e4f617
fix deploy yml
Little-Peony Mar 11, 2026
54ba1e5
scp file name risk fix
Little-Peony Mar 12, 2026
e36653d
fix docker image version
Little-Peony Mar 12, 2026
2c67861
fix metric use config
Little-Peony Mar 12, 2026
6442b91
add grafana version
Little-Peony Mar 13, 2026
7bf1968
Add rank changes detect in top27 SR
warku123 Mar 17, 2026
da4c5d5
fix title of issue template
abn2357 Mar 19, 2026
39e5322
Merge pull request #109 from 3for/tcmalloc_feature
kuny0707 Mar 26, 2026
1672b47
Merge pull request #113 from Sunny6889/fix_risk_scan
kuny0707 Mar 27, 2026
9e3a0ff
Merge pull request #114 from abn2357/fix_issue_title
kuny0707 Mar 27, 2026
5b29965
feat(docker): add tcmalloc for nile
3for Mar 27, 2026
98546aa
Merge pull request #115 from 3for/nile_tcmalloc_feature
kuny0707 Mar 27, 2026
598be2a
fix(docker): fix Docker security vulnerabilities such as SA-002
3for Mar 9, 2026
3dd8abf
fix(doc): fix mismatch
3for Mar 9, 2026
a59d9d6
fix(doc): add auto-generated trond docs
3for Mar 10, 2026
0751841
chore: remove unnecessary digest constraints in Dockerfile
3for Mar 27, 2026
7402d33
Merge pull request #110 from 3for/fixSecurity
kuny0707 Mar 27, 2026
4bb5498
fix(config): update mainnet config
Little-Peony Mar 31, 2026
433d616
fix(doc): fix review & delete unused files
Little-Peony Mar 31, 2026
8be0b48
fix(doc): update reference
Little-Peony Mar 31, 2026
5ba25ee
Merge pull request #116 from Sunny6889/update_config
SeriousCoding789 Apr 1, 2026
c6ac6be
build(docker): use PGP-verified OpenJDK 8
3for Apr 22, 2026
926b720
Merge pull request #120 from 3for/update_docker
kuny0707 Apr 22, 2026
7fd97f2
feat(dashboard): add block transaction count and SR set change panels
warku123 Apr 14, 2026
7096913
docs(metrics): document block_transaction_count and sr_set_change
warku123 Apr 28, 2026
f9325c7
feat(dashboard): align tx count distribution with refined buckets
warku123 May 6, 2026
ad334cb
docs(metric_monitor): align tx count buckets with java-tron
warku123 May 6, 2026
519fd0e
fix(monitor): bump prometheus to v3.11.3 and thanos to v0.41.0
Little-Peony May 14, 2026
77c35a8
Merge pull request #121 from Sunny6889/fix/cve-2026-42154-bump-prom-t…
kuny0707 May 14, 2026
f330c1a
Address PR review feedback for slack_sr_monitor
warku123 May 14, 2026
837d86d
Strip extra trailing newline to satisfy end-of-file-fixer lint
warku123 May 14, 2026
8a85b2b
Skip Slack push when the TRON node is still catching up
warku123 May 15, 2026
18adec6
fix(toolkit): set witness flag for fork accounts
Federico2014 May 16, 2026
b8373c9
fix(toolkit): initialize db fork witness permissions
Federico2014 May 17, 2026
8359f5c
Merge pull request #105 from warku123/Slack_SR_post
kuny0707 May 21, 2026
8bc6aa3
Merge pull request #122 from Federico2014/account-iswitness-fix
kuny0707 May 21, 2026
05e23b1
feat(dashboard): replace empty block rate with P95/P99 tx count and l…
warku123 May 29, 2026
18163b3
feat(dashboard): remove Last Empty Block panel, keep 8-panel Block row
warku123 Jun 2, 2026
ae97ba6
fix(dashboard): use $__rate_interval, explicit sum by for histogram, …
warku123 Jun 17, 2026
518fd86
Merge pull request #118 from warku123/feat/dashboard-new-metrics
SeriousCoding789 Jun 17, 2026
efb213a
feat: add Slack SR guard
warku123 Jun 30, 2026
238591f
fix: retry SR monitor after maintenance
warku123 Jun 30, 2026
4bd1839
fix: simplify SR guard alert summary
warku123 Jul 1, 2026
2ea164a
fix: resolve names for left SRs
warku123 Jul 1, 2026
858b4d2
Add phone-call escalation to slack_sr_guard
Jul 1, 2026
9d19e10
Merge pull request #3 from zackops99/feature/slack-sr-guard-phone-alert
warku123 Jul 1, 2026
a9f11f2
fix: trigger phone alert after Slack success
warku123 Jul 1, 2026
b605b5d
Merge pull request #99 from Federico2014/feature/query_voters
kuny0707 Jul 29, 2026
d86d212
Merge branch 'develop' into feature/proposals_parameters
Federico2014 Jul 29, 2026
604c08a
Merge pull request #100 from Federico2014/feature/proposals_parameters
kuny0707 Jul 29, 2026
97e4c82
Merge branch 'develop' into feature/update_toolkit
Federico2014 Jul 29, 2026
17e421f
Merge pull request #106 from Federico2014/feature/update_toolkit
kuny0707 Jul 29, 2026
3f918a4
Merge pull request #123 from warku123/feature/slack-sr-guard
kuny0707 Jul 29, 2026
78314c7
fix(compose): drop JDK 8 GC options that break arm64 images (#127)
barbatos2011 Aug 17, 2026
dd249f2
fix: skip SR guard round when node block is stale (#125)
warku123 Aug 17, 2026
17019c0
feat(dashboard): improve java-tron Grafana dashboards usability (#126)
warku123 Aug 17, 2026
fd3f56a
Merge branch 'main' into develop
SeriousCoding789 Aug 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions .github/ISSUE_TEMPLATE/ask-a-question.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,39 @@
---
name: Ask a question
about: Something is unclear
title: ''
about: Something is unclear or needs clarification
title: '[Question] '
labels: 'type:docs'
assignees: ''

---
If you are not 100% sure if something is a bug or asking a question that leads to improving the documentation. For general questions please use [Discord](https://discord.gg/cGKSsRVCGm) or [Telegram](https://t.me/TronOfficialDevelopersGroupEn).

<!--
⚠️ IMPORTANT: Please read before submitting

This template should only be used in rare cases, such as:
- You're unsure if something is a bug or expected behavior
- Your question could lead to documentation improvements
- You need clarification on technical implementation details

-->

## Question

<!-- Clearly describe what you need clarification on -->

## Context

<!-- Provide relevant context that helps us understand your question -->

**What are you trying to achieve?**
<!-- Describe your goal or use case -->

**What have you tried so far?**
<!-- List any approaches or solutions you've attempted -->

**Relevant documentation or code**
<!-- Link to relevant documentation, code sections, or examples -->

## Additional Information

<!-- Any other details that might be helpful -->
61 changes: 35 additions & 26 deletions .github/ISSUE_TEMPLATE/report-a-bug.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,59 @@
---
name: Report a bug
about: Create a report to help us improve
title: ''
title: '[Bug] '
labels: 'type:bug'
assignees: ''

---

<!-- Have you done the following? -->
<!-- * Reproduced the issue in the latest version of the software -->
<!-- * Duplicate Issue check: https://github.com/search?q=+is%3Aissue+repo%3Atronprotocol/java-tron -->
<!-- * Duplicate Issue check: https://github.com/search?q=+is%3Aissue+repo%3Atronprotocol/tron-docker -->

#### Software Versions
<!-- `java -jar FullNode.jar -v` -->

<!--
```
OS : Linux
JVM : Oracle Corporation 1.8.0_161 amd64
Git : b1fc2f0f2bd79527099bc3027b9aba165c2e20c2
Version : 4.7.4
Code : 18260
```
-->
## Expected behaviour

#### Expected behaviour
<!--[What you expect to happen] -->

## Actual behaviour

#### Actual behaviour
<!--[What you expect to happen] -->
<!-- Describe what actually happened -->

## Frequency

#### Frequency
<!-- [What percentage of the time does it occur?] -->
- [ ] Always (100%)
- [ ] Frequently (>50%)
- [ ] Sometimes (10-50%)
- [ ] Rarely (<10%)

## Steps to reproduce the behaviour
<!-- Provide detailed steps to reproduce the issue -->

1.
2.
3.

## Logs and Error Messages

<!--
⚠️ IMPORTANT: Submit logs as text, not screenshots
-->

```
[Paste error messages, stack traces, or relevant logs here]
```

#### Steps to reproduce the behaviour
## Additional Context

1. [Step 1]
2. [Step 2]
3. [Step ...]
<!-- Add any other context about the problem -->

#### Backtrace
**Screenshots**
<!-- If applicable, add screenshots to help explain the problem -->

````
[backtrace]
````
**Related Issues**
<!-- Link to any related issues or pull requests -->

When submitting logs: please submit them as text and not screenshots.
**Possible Solution**
<!-- If you have suggestions on how to fix the bug, describe them here -->
80 changes: 69 additions & 11 deletions .github/ISSUE_TEMPLATE/request-a-feature.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,86 @@
---
name: Request a feature
about: Suggest an idea for this project
title: ''
title: '[Feature] '
labels: 'type:feature'
assignees: ''

---
# Background

# Rationale
## Background

Why should this feature exist?
<!-- Describe the context and motivation for this feature request -->

What are the use-cases?
## Problem Statement

# Specification
<!-- What problem does this feature solve? What pain points does it address? -->

# Test Specification
## Rationale

# Scope Of Impact
**Why should this feature exist?**
<!-- Explain the benefits and value this feature would provide -->

**What are the use cases?**
<!-- Describe specific scenarios where this feature would be useful -->

# Implementation
1.
2.
3.

Do you have ideas regarding the implementation of this feature?
## Proposed Solution

Are you willing to implement this feature?
<!-- Describe your proposed solution in detail -->

### Specification

<!-- Provide technical specifications or requirements -->

## Test Specification

<!-- How should this feature be tested? -->

**Test Scenarios**

1.
2.
3.

**Performance Considerations**
<!-- Describe any performance implications -->

## Scope Of Impact

<!-- What parts of the system will be affected? -->

## Implementation

**Do you have ideas regarding the implementation?**
<!-- Share any technical approaches or implementation details -->

**Are you willing to implement this feature?**
<!-- Let us know if you'd like to contribute the implementation -->
- [ ] Yes, I can implement this feature
- [ ] I can help with implementation
- [ ] I need help with implementation
- [ ] I'm just suggesting the idea

**Estimated Complexity**
<!-- Your assessment of implementation complexity -->
- [ ] Low (minor changes)
- [ ] Medium (moderate changes)
- [ ] High (significant changes)
- [ ] Unknown

## Alternatives Considered

<!-- Describe any alternative solutions or features you've considered -->

## Additional Context

<!-- Add any other context, mockups, diagrams, or examples -->

**Related Issues/PRs**
<!-- Link to any related issues or pull requests -->

**References**
<!-- Link to any relevant documentation, specifications, or discussions -->
51 changes: 36 additions & 15 deletions .github/workflows/docker-s3-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,47 @@ jobs:
exit 1
fi

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Install cosign
uses: sigstore/cosign-installer@v3

- name: Sign tron-docker.zip with GPG
- name: Sign tron-docker.zip with Sigstore cosign (keyless)
# Keyless signing using GitHub OIDC — no private keys to manage or leak.
# The signature is bound to this workflow's identity (repo, ref, commit SHA).
# Verification: cosign verify-blob --certificate tron-docker.zip.cert \
# --signature tron-docker.zip.sig \
# --certificate-identity-regexp "https://github.com/tronprotocol/tron-docker" \
# --certificate-oidc-issuer "https://token.actions.githubusercontent.com" \
# tron-docker.zip
run: |
gpg --detach-sign --armor tron-docker.zip
# This creates tron-docker.zip.asc (ASCII-armored signature)
cosign sign-blob tron-docker.zip \
--yes \
--output-signature tron-docker.zip.sig \
--output-certificate tron-docker.zip.cert

- name: Configure AWS Credentials
- name: Configure AWS Credentials (OIDC — no long-lived keys)
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ github.event.inputs.aws-region }} # Use input for region
# Uses GitHub OIDC provider to assume an IAM role with short-lived credentials.
# No static keys needed — credentials expire after the workflow run.
# Prerequisites:
# 1. Create an IAM OIDC identity provider for token.actions.githubusercontent.com
# 2. Create an IAM role with trust policy allowing this repo:
# "Condition": {
# "StringEquals": {
# "token.actions.githubusercontent.com:aud": "sts.amazonaws.com",
# "token.actions.githubusercontent.com:sub": "repo:tronprotocol/tron-docker:ref:refs/heads/main"
# }
# }
# 3. Attach S3 put-object policy scoped to the target bucket only
# 4. Delete the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY secrets from GitHub
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: ${{ github.event.inputs.aws-region }}

- name: Upload tron-docker.zip to S3
env:
BUCKET_NAME: ${{ github.event.inputs.bucket-name }}
VERSION: ${{ github.event.inputs.version }}
run: |
zip -r publish.zip tron-docker.zip tron-docker.zip.asc
aws s3 cp publish.zip s3://${{ github.event.inputs.bucket-name }}/package/publish-latest.zip
aws s3 cp publish.zip s3://${{ github.event.inputs.bucket-name }}/package/publish-${{github.event.inputs.version}}.zip
zip -r publish.zip tron-docker.zip tron-docker.zip.sig tron-docker.zip.cert
aws s3 cp publish.zip "s3://${BUCKET_NAME}/package/publish-latest.zip"
aws s3 cp publish.zip "s3://${BUCKET_NAME}/package/publish-${VERSION}.zip"
Loading
Loading