Proto commits in iotubeproject/ioTube

These 38 commits are when the Protocol Buffers files have changed:

Commit:2426738
Author:qevan
Committer:GitHub

Add witness liveness heartbeat via StaleHeights (#318) * Add witness liveness heartbeat via StaleHeights Witnesses piggyback their own address + current scan tip on the periodic StaleHeights call, so the relayer can track per-witness liveness independently of transfer traffic. The relayer upserts these into a witness_heartbeats table keyed by (witness, cashier); a stale updateTime means a witness is offline or behind. Backward-compatible (old witnesses simply don't report). Hardening: - Bound the client-supplied witnessAddr to a 20-byte secp256k1 address or a 32-byte ed25519 pubkey before writing. StaleHeights is unauthenticated, so this prevents varchar(66) overflow errors and unbounded junk rows. - Create witness_heartbeats unconditionally (no dependency on the witness table) so the best-effort upsert never hits a missing table. - Cover solana routes too: SolanaService.StaleHeights records the heartbeat via the AbstractRecorder interface, implemented on SolRecorder. * Address codex review on PR #318 (round 1) - Send the heartbeat on the previous-cashier StaleHeights call too, so migration routes (previousCashierContractAddress) report per-route liveness instead of looking permanently stale. (tokencashierbase.go) - Only record heartbeats for cashiers this relayer serves (s.validators membership), so an unknown-cashier ping can't create junk rows. Full spoof/flood resistance on the unauthenticated StaleHeights endpoint would require a signed heartbeat verified against the on-chain witness set; left as a follow-up design decision. (service.go) * Address codex re-review on PR #318 (round 2) - Don't report a misleading heartbeat tipHeight for disable-pull cashiers: PullTransfers never advances lastProcessBlockHeight for them, so it would pin a fixed height forever. Send 0 (no scan tip) in that case; the witness address still carries the liveness signal. (tokencashierbase.go) --------- Co-authored-by: qevan <448293+guo@users.noreply.github.com>

The documentation is generated from this commit.

Commit:0ba8532
Author:qevan
Committer:qevan

Add witness liveness heartbeat via StaleHeights Witnesses piggyback their own address + current scan tip on the periodic StaleHeights call, so the relayer can track per-witness liveness independently of transfer traffic. The relayer upserts these into a witness_heartbeats table keyed by (witness, cashier); a stale updateTime means a witness is offline or behind. Backward-compatible (old witnesses simply don't report). Hardening: - Bound the client-supplied witnessAddr to a 20-byte secp256k1 address or a 32-byte ed25519 pubkey before writing. StaleHeights is unauthenticated, so this prevents varchar(66) overflow errors and unbounded junk rows. - Create witness_heartbeats unconditionally (no dependency on the witness table) so the best-effort upsert never hits a missing table. - Cover solana routes too: SolanaService.StaleHeights records the heartbeat via the AbstractRecorder interface, implemented on SolRecorder.

The documentation is generated from this commit.

Commit:526ddc5
Author:Liuhaai
Committer:Liuhaai

fix witness data encoding

Commit:87b4614
Author:Liuhaai
Committer:Liuhaai

fix witness data encoding

Commit:ba5fcda
Author:Liuhaai

add multi client and hearbeat

Commit:441d70a
Author:Liuhaai
Committer:Liuhaai

add witness committee

Commit:fc70766
Author:Liuhaai

save

Commit:d79fe03
Author:Liuhaai

add witness

Commit:6abb225
Author:Liuhaai

save

Commit:52b0586
Author:Liuhaai

save

Commit:4a2ec2e
Author:zhi
Committer:zhi

update retry api

Commit:974451b
Author:zhi
Committer:zhi

add retry api

Commit:b876104
Author:zhi
Committer:zhi

add payload and contract receiver, support payload in relayer/witness

Commit:655b7cd
Author:Liuhaai

update proto

Commit:62a1998
Author:Liuhaai
Committer:Liuhaai

support solana chain

Commit:1b65fe6
Author:Liuhaai
Committer:Liuhaai

support solana chain

Commit:47852ba
Author:Liuhaai
Committer:Liuhaai

add create ata instruction

Commit:b0587cc
Author:Liuhaai

enable passive witness

Commit:2f80abe
Author:zhi

add source tx hash to relayer table and an api to look up transfers by source tx hash

Commit:335f659
Author:Liuhaai

add payload

Commit:c5d71f1
Author:zhi
Committer:zhi

record block height

Commit:5fbd1b6
Author:Liuhaai
Committer:Liuhaai

add bitcoin support in iotube

Commit:695bb39
Author:zhi

support payload in relayer/witness

Commit:317ff40
Author:zhi
Committer:zhi

add tx sender

Commit:d7acbca
Author:zhi

refetch via http request

Commit:94d8f89
Author:zhi
Committer:zhi

add reset api

Commit:059ff8c
Author:zhi

add confirming status

Commit:b7e764f
Author:zhi

add explorer service

Commit:b5cc241
Author:zhi

more filter options

Commit:1c1a91c
Author:zhi

add status list

Commit:51c9956
Author:zhi

add more query options

Commit:6064eea
Author:zhi

add count

Commit:af83b70
Author:zhi
Committer:zhi

add fee

Commit:21db6a7
Author:zhi
Committer:zhi

add gas and timestamp

Commit:29ea1b3
Author:maswalker

add http service for relayer and witness

Commit:578b9f2
Author:zhi
Committer:zhi

new api for relayer and add matic support

Commit:f8215f7
Author:zhi

adjust contract & complete witness-relayer service

Commit:ecc192f
Author:zhi
Committer:zhi

clean up contract and add relay service