Skip to content

Added .github folder to contain template files - #13

Merged
sasaxie merged 1 commit into
tronprotocol:developfrom
khuezy:github-templates
Dec 28, 2017
Merged

sasaxie merged 1 commit into
tronprotocol:developfrom
khuezy:github-templates

Conversation

@khuezy

@khuezy khuezy commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

Moved the ISSUE_TEMPLATE.md file to .github/ folder.

  • Added PULL_REQUEST_TEMPLATE.md for future pull requests.

@khuezy khuezy changed the title Added .github folder to container template files Added .github folder to contain template files Dec 28, 2017
@sasaxie

sasaxie commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

LGTM

@sasaxie
sasaxie merged commit 7325a77 into tronprotocol:develop Dec 28, 2017
zhaohong pushed a commit that referenced this pull request Feb 5, 2018
 8jY4zSyZq5zO89ZcyYlAKWkXtZx6oOQp69K7pnu2VDFO5uNlnXQkE0DudISJoVqt
 BO+HyL55uG5nOSUcmWJmh63t6Xxjexz8KGe5kpgeMDlhFYXbdiOcwHazAR8L+1aV
 BHBcAkdQqj/p3SGAM4hwMsCmBDRZ8qak+PJ6b5n1etrxRAyzwWi794FxKY0Q4N17
 HYvoGtHMFEzCMv4dUWpSpP7rLxmwgcMo+OBqXBJGrEyKk9IdLzH1AYXCx05+wJWd
 /ZUDASjFquo7HMpLhBshV+bj/63j8C5RSjPYg1oIL26aGEbrIQRpZajSMLGq6u4=
 =qy5Z
 -----END PGP SIGNATURE-----
 

Merge pull request #13 from khuezy/github-templates

Added .github folder to contain template files
zergweak pushed a commit that referenced this pull request Mar 21, 2018
317787106 referenced this pull request in 0xbigapple/java-tron Mar 11, 2026
Little-Peony added a commit to Little-Peony/java-tron that referenced this pull request Jun 24, 2026
# This is the 1st commit message:

feat(proposal): add VERSION_4_8_2_PQ1 and gate PQC proposals on it

# This is the commit message #2:

fix test checkstyle

# This is the commit message tronprotocol#3:

reverse changes

# This is the commit message tronprotocol#4:

reverse

# This is the commit message tronprotocol#5:

reverse

# This is the commit message tronprotocol#6:

delete comments, remove unused code

# This is the commit message tronprotocol#7:

fix(vm): relocate pqc precompiles to 0x02000016-0x0200001a to avoid address conflicts

# This is the commit message tronprotocol#8:

fix(chainbase): render pq_auth_sig safely in TransactionCapsule.toString

getBase64FromByteString parses bytes as an ECDSA r/s/v signature, so calling it
on a pq_auth_sig threw and crashed toString() for any PQ-signed transaction. The
i.get() gating also dropped the PQ output when an ECDSA signature was present and
only ever printed the first entry.

Print every pq_auth_sig at the transaction level and hex-encode the raw bytes.
Add toString format regression tests (PQ-only and hybrid ECDSA+PQ).

# This is the commit message tronprotocol#9:

revers feberico change

# This is the commit message tronprotocol#10:

add more test

# This is the commit message tronprotocol#11:

fix format

# This is the commit message tronprotocol#12:

refactor

# This is the commit message tronprotocol#13:

fix(net): bound inbound HelloMessage size and pq_auth_sig fields

valid() capped legacy fields at 200B but left pq_auth_sig unbounded, so
an inbound hello was limited only by the 5MB frame. Per-field bounds are
not enough: raw bytes can still bloat via repeated pq_auth_sig (parser
merges), top-level unknown fields, or unbounded `from` sub-fields.

- Add MAX_HELLO_MESSAGE_SIZE (16KB); reject oversized hellos in
  TronMessageFactory before the body copy, and defensively in the
  HelloMessage constructors and valid() (-> BAD_MESSAGE/BAD_PROTOCOL).
- valid(): reject nested unknown fields in pq_auth_sig; bound
  public_key/signature to the scheme's max (global max for unknown).
- Add PQSchemeRegistry.getMaxPublicKeyLength()/getMaxSignatureLength().
- Tests for nested unknown field and the three raw-size bypasses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants