BTM000", “Bytom API Error”0 h h0 u" z( m, H& @7 O
非比原标准错误9 i/ e* I( Q ]; m/ ~9 R
BTM001", “Request timed out”
API请求超时, {) z3 k, J/ z" Q+ j' t) }8 o
BTM002", “Invalid request body”
非法的API请求体; D+ J& X @+ U2 i
1XX为网络错误! ^7 D/ i; R8 F( G# @8 {# f
BTM103", “A peer core is operating on a different blockchain network”
区块链网络类型不匹配3 D! h. f, F9 ~ M& T: m7 J
2xx是签名相关的错误
BTM200 :"Quorum must be greater than 1 and less than or equal to the length of xpubs“1 y8 B1 t5 m/ L* W3 ~
需要签名的个数超过实际需求签名的个数9 `8 w6 w- ^% k K6 R3 b
BTM201 :”Invalid xpub format"+ i6 }( P! \# i8 x2 J
签名格式错误- H6 X6 Q% s% |; c( F$ j
BTM202 :“At least one xpub is required”2 I( u" s! D6 W. K3 h5 U7 [
缺少主公钥1 k4 ^8 {' d! `
BTM204 : “Root XPubs cannot contain the same key more than once”
主公钥重复
7XX为交易相关的错误
72X - 73X 构建交易错误" s8 Q% U W; v" X! R5 t1 e
BTM700 : “Funds of account are insufficient”
资产余额不足8 s5 {5 ^4 h( |/ @9 R# H
BTM701 : “Available funds of account are immature” u6 x" l3 Z1 ^, `5 S8 E
coinbase交易未成熟,币不可花费* a* c! j1 }8 o+ @. P$ |4 T7 u1 a
BTM702 : "Available UTXOs of account have been reserved: q* G* I0 ]. G4 b. O
资产被锁定五分钟,不可花费(一般密码输入错误会产生)
BTM703 : “Not found UTXO with given hash”( |. e+ P e( _# i" d
UTXO不属于当前钱包
BTM704 : “Invalid action type”
action类型不存在
BTM705 : “Invalid action object”0 \, c6 |3 t$ G( G' J6 f
action输入内容错误
BTM706 : “Invalid action construction”
action结构错误(只有输入或者只有输出)
BTM707 : “One or more fields are missing”
action输入内容缺失5 o; B, r5 t- K" y' M1 y/ |
BTM708 : “Invalid asset amount”
资产数量格式错误(超过最大数量)" f% d6 w/ z. l$ ~
BTM709 : “Not found account”
账户不存在9 z* j' L: i9 r1 j8 F& v" F$ N. v8 B* _2 d) F
BTM710 : “Not found asset”
资产不存在% C; W5 H! K/ N7 |0 u5 ]
73X - 75X 验证交易错误7 o, \. g f- Z& J7 F$ u5 k W
BTM730 :“Invalid transaction version”9 `' [% ?" d! Y: X7 I5 o& x+ I
交易版本不对
BTM731 :“Invalid transaction size”/ X6 T$ T7 d& \! {' o+ Q, T3 ^: S
交易大小不能为0
BTM732 :“Invalid transaction time range”$ f$ r6 W" P: E2 R/ ]
超出交易时间范围,用于将停留时间过久的未确认交易作废
BTM733 : “Not standard transaction”
不是标准的交易,使用合约地址接受BTM时报错
BTM734 : “Invalid coinbase transaction”0 c4 [! }% H% m4 v
非法coinbase交易3 _# \' ~* P! ~3 ^$ w
BTM735 : “Invalid coinbase assetID”
非法的coinbase资产ID
BTM736 : “Invalid coinbase arbitrary size”5 A6 M; ^: F6 i- I0 W
coinbase尺寸过大,附加数据超过一定限制$ z- e. i4 S1 s; ^
BTM737 : “No results in the transaction”7 h, `5 m; }& F M0 d# Q. y: Y
交易action hash缺失9 B2 E' }$ t: e6 |6 ]
BTM738 : “Mismatched assetID”% ? k$ f) K+ z7 v2 T) P! ?/ x
不匹配的资产ID,发布资产时资产ID错误$ X; R' H8 [9 W7 D2 i
BTM739 : “Mismatched value source/dest position”
不匹配的action位置
BTM740 : “Mismatched reference”( `/ A* F3 M2 ^- A
不匹配的引用* r$ N& |4 ~( w7 B4 k* E$ d5 O
BTM741 : “Mismatched value”
不匹配的值,action的资产值不匹配, O$ c+ `; n0 T6 o) m
BTM742 : “Missing required field”- o. F! _5 O1 D5 t
不匹配的字段,action输入的资产值类型不匹配
BTM743 : “No source for value”
输入源不存在$ w; ^# q1 }( \- ?3 L: `1 a) R- a
BTM744 : “Arithmetic overflow/underflow”
计算溢出,资产计算值超出限制1 N; h1 X, L4 Q, M: \1 K* ^- J+ a+ Y
BTM745 : “Invalid source or destination position”
action位置不匹配
BTM746 : “Unbalanced asset amount between input and output”
输入输出非BTM资产总量不平衡) c: L$ a j G6 o5 c! \
BTM747 : “Gas credit has been spent”2 n) V4 Q" J+ j7 x5 U3 _+ `2 r, B* i
UTXO数量超过上限(当前为21个)
BTM748 : “Gas usage calculate got a math error”
Gas运算错误
76X - 78X 虚拟机错误
BTM760 :“Alt stack underflow”. R0 d6 k8 Y) q% d1 o4 G( D
子虚拟机栈溢出
BTM761 : “Bad value”
非法栈数据- F+ _9 s9 A* j9 e: e7 j
BTM762 : “Wrong context”
context值错误,context为虚拟机执行上下文4 U1 h# Y2 }7 O+ t0 J, K" {
BTM763 : “Data stack underflow”
虚拟机数据溢出9 b5 l/ z( M9 [7 w
BTM764 : “Disallowed opcode”
虚拟机指令不存在
BTM765 : “Division by zero”
除零错误
BTM766 : “False result for executing VM”
虚拟机执行结果为Fasle4 z1 v0 ~7 T3 o2 H; p, [. b
BTM767 : “Program size exceeds max int32”
合约的字节大小超过int32上限
BTM768 : “Arithmetic range error”
计算出错
BTM769 : “RETURN executed”
执行opfail指令返回的结果
BTM770 : “Run limit exceeded because the BTM Fee is insufficient”
Gas费用不足,引起合约终止5 D- U8 c; @4 A8 E; t$ K7 K* h, s
BTM771 : “Unexpected end of program”
合约程序参数输入错误/ N8 k3 v a" a/ |; e
BTM772 : “Unrecognized token”* l: W1 `: p. \& {& `
不识别的虚拟机指令数据! O$ Z( g e2 i& s1 ?" N) o
BTM773 : “Unexpected error”& t7 M! t5 ~8 X9 c
异常错误) p9 k3 \7 ?8 p e
BTM774 : “Unsupported VM because the version of VM is mismatched”1 g5 [; J. t: o, q* V3 M
虚拟机版本不匹配/ D! @; i: a/ X, B
BTM775 : “VERIFY failed”# D' @4 a4 U, [
verify指令执行失败
8XX 为HSM相关错误3 |+ r! ]" X/ t0 [! x5 i
BTM800 :“Key Alias already exists”
密钥别名重复
BTM801 :“Invalid after in query”
此错误已废弃3 g x3 L, {+ K& s3 p3 ^
BTM802 : “Key not found or wrong password”9 Z; K1 h* `2 Z! q( n
密钥不存在或者密码错误
BTM803 : “Requested key aliases exceeds limit”' x6 G. T N6 \4 I" n7 O
此错误已废弃
BTM804 :“Could not decrypt key with given passphrase”
解密流程失败
BTM860", “Request could not be authenticated”. p7 D' u9 k, B9 h
access token错误
成为第一个吐槽的人