Skip to content

typo: Fix function name - #12

Merged
sasaxie merged 1 commit into
tronprotocol:developfrom
khuezy:type-Peer
Dec 28, 2017
Merged

sasaxie merged 1 commit into
tronprotocol:developfrom
khuezy:type-Peer

Conversation

@khuezy

@khuezy khuezy commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

Minor typo fix.

initBlockchian => initBlockchain

@sasaxie

sasaxie commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

LGTM

@sasaxie
sasaxie merged commit 27694b9 into tronprotocol:develop Dec 28, 2017
zhaohong pushed a commit that referenced this pull request Feb 5, 2018
 xAY0RPOIqJ5JfM1vZJQ1mTetdOfMQQQgkIbQRut+49FWlgM9tc1Ve+AfZMyUc4tF
 aFHPEngr8c1sJFlEdn32bUInPfkVsMhtxg/4AJR/4I0JMa6N4y/u+fXNjDCUSMKj
 VQAegMs3JCoBHwS27pFcXjmCX47/wHR1mdJJhtyJr6MBgorhAgQjdYWGAETIeOR0
 ieIHiXJw2PFn0QpZvKVPDZtGT9yv/IFsDOXceKUQmn32sMuj5E6l3jKmIafXRGFN
 O/7lbIMffF7D8d0jZtlIp+OxfLKEz04vgjVLBMkpJwKW5eY424hEkvZ+iThKvVE=
 =O9aH
 -----END PGP SIGNATURE-----
 

Merge pull request #12 from khuezy/type-Peer

typo: Fix function name
sasaxie pushed a commit that referenced this pull request Mar 20, 2018
xxo1shine pushed a commit that referenced this pull request Dec 12, 2019
jiangyy0824 pushed a commit that referenced this pull request Feb 19, 2020
yanghang8612 pushed a commit to yanghang8612/java-tron that referenced this pull request Jan 4, 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