From 6d89e1d8d5a80aba75de62cd29cf031e3f38f481 Mon Sep 17 00:00:00 2001 From: wubin01 Date: Tue, 30 Jan 2024 17:50:03 +0800 Subject: [PATCH 1/2] feat(api): add a reason code for broadcastTransaction interface --- api/api.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/api.proto b/api/api.proto index 9a7534cf6..2505fa48d 100644 --- a/api/api.proto +++ b/api/api.proto @@ -1051,6 +1051,8 @@ message Return { SERVER_BUSY = 9; NO_CONNECTION = 10; NOT_ENOUGH_EFFECTIVE_CONNECTION = 11; + BLOCK_UNSOLIDIFIED = 12; + OTHER_ERROR = 20; } From f7c9ac9e772c8f6c621c4ad24f27cde6044b8519 Mon Sep 17 00:00:00 2001 From: jiangyuanshu <317787106@qq.com> Date: Tue, 30 Jan 2024 19:18:50 +0800 Subject: [PATCH 2/2] add column codeVersion to HelloMessage --- core/Tron.proto | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Tron.proto b/core/Tron.proto index 2fc08901e..41ef968d9 100644 --- a/core/Tron.proto +++ b/core/Tron.proto @@ -626,6 +626,7 @@ message HelloMessage { bytes signature = 8; int32 nodeType = 9; int64 lowestBlockNum = 10; + bytes codeVersion = 11; } message InternalTransaction {