BTM000", “Bytom API Error”3 ` k: d# H9 }! r2 s) L1 s; m
非比原标准错误+ @& _4 q, ~+ a k9 C
BTM001", “Request timed out”: a0 O- i: ^# b% _
API请求超时" F4 J! t* k3 g: n
BTM002", “Invalid request body”% G# C, @6 f" \+ c7 C
非法的API请求体4 Q" k( V$ b4 e+ H) F, S( G
1XX为网络错误
BTM103", “A peer core is operating on a different blockchain network”2 ?7 A [5 G" ~# G6 I" a/ m' s
区块链网络类型不匹配
2xx是签名相关的错误. q5 Q. x0 V; n" q
BTM200 :"Quorum must be greater than 1 and less than or equal to the length of xpubs“# [9 m8 \ I- G+ a: j5 p. Y3 R5 }! l
需要签名的个数超过实际需求签名的个数
BTM201 :”Invalid xpub format") Y o7 b& r/ D* M2 I+ E0 G
签名格式错误- j& g. |- a3 N5 Y4 J, I
BTM202 :“At least one xpub is required”) U2 Q0 m9 ]. I0 w$ }
缺少主公钥
BTM204 : “Root XPubs cannot contain the same key more than once”% d8 i# E( Q7 ^! m/ M# L
主公钥重复2 ` O2 r3 r% G
7XX为交易相关的错误8 _ f9 l, B5 e5 _! N* r
72X - 73X 构建交易错误
BTM700 : “Funds of account are insufficient”, N; X6 d) u4 x: P; G
资产余额不足) f" A5 T7 V' }5 Y% ~
BTM701 : “Available funds of account are immature”
coinbase交易未成熟,币不可花费
BTM702 : "Available UTXOs of account have been reserved1 y- s7 _7 M. u# h" W
资产被锁定五分钟,不可花费(一般密码输入错误会产生)
BTM703 : “Not found UTXO with given hash”5 j( d9 t1 ~# [
UTXO不属于当前钱包
BTM704 : “Invalid action type”
action类型不存在
BTM705 : “Invalid action object”
action输入内容错误
BTM706 : “Invalid action construction”3 Y" O0 m) H8 K% F3 ]( n
action结构错误(只有输入或者只有输出)
BTM707 : “One or more fields are missing”
action输入内容缺失
BTM708 : “Invalid asset amount”
资产数量格式错误(超过最大数量)
BTM709 : “Not found account”
账户不存在
BTM710 : “Not found asset”8 b. c7 ]4 F# n" X' o- h
资产不存在( _+ ~- U! I: e; v
73X - 75X 验证交易错误6 T7 F. q3 }1 d( M
BTM730 :“Invalid transaction version”, m1 r! ^2 z6 G2 v1 o* y9 e
交易版本不对
BTM731 :“Invalid transaction size”! h2 \4 h( n0 {' S- ~
交易大小不能为03 U8 b) P$ a* A; G
BTM732 :“Invalid transaction time range”, H; C+ @1 e( N
超出交易时间范围,用于将停留时间过久的未确认交易作废
BTM733 : “Not standard transaction”
不是标准的交易,使用合约地址接受BTM时报错
BTM734 : “Invalid coinbase transaction”$ t1 { x$ L' M, b" k7 j* e
非法coinbase交易
BTM735 : “Invalid coinbase assetID”' @# M( X) L% C
非法的coinbase资产ID* p1 i5 j& J' P( N" ]4 _, e
BTM736 : “Invalid coinbase arbitrary size”
coinbase尺寸过大,附加数据超过一定限制( }. n* q4 ?) ~ l
BTM737 : “No results in the transaction”( I% ~# Y' M2 S D! r, V
交易action hash缺失
BTM738 : “Mismatched assetID”' [) }: Y& L" G/ u5 _
不匹配的资产ID,发布资产时资产ID错误" l$ C: R3 ~8 c& T9 }
BTM739 : “Mismatched value source/dest position”1 U; K! R ^9 ~6 b
不匹配的action位置
BTM740 : “Mismatched reference”, G3 m: V ~: M7 q
不匹配的引用
BTM741 : “Mismatched value”
不匹配的值,action的资产值不匹配
BTM742 : “Missing required field”. F6 E3 u1 |' P2 E4 ~& G
不匹配的字段,action输入的资产值类型不匹配
BTM743 : “No source for value”; C9 e" C( L/ P, \
输入源不存在
BTM744 : “Arithmetic overflow/underflow”
计算溢出,资产计算值超出限制1 Q0 L0 z9 D9 w; I6 O
BTM745 : “Invalid source or destination position”! c& O: s8 r# Z8 f7 L, p
action位置不匹配
BTM746 : “Unbalanced asset amount between input and output”
输入输出非BTM资产总量不平衡
BTM747 : “Gas credit has been spent”
UTXO数量超过上限(当前为21个)
BTM748 : “Gas usage calculate got a math error”/ Q! r, W: w# o6 d
Gas运算错误0 C$ k$ l4 j( l I
76X - 78X 虚拟机错误
BTM760 :“Alt stack underflow”
子虚拟机栈溢出
BTM761 : “Bad value”
非法栈数据$ W3 ]% z. W+ U& C( y
BTM762 : “Wrong context”+ c H, y2 @0 D4 R- j, z4 G- z# r! X
context值错误,context为虚拟机执行上下文
BTM763 : “Data stack underflow”
虚拟机数据溢出9 Y m. Q% h7 E! A# ^9 u
BTM764 : “Disallowed opcode”
虚拟机指令不存在
BTM765 : “Division by zero”
除零错误
BTM766 : “False result for executing VM”
虚拟机执行结果为Fasle
BTM767 : “Program size exceeds max int32”* ~4 F8 ^% p% L+ s& Q: `
合约的字节大小超过int32上限
BTM768 : “Arithmetic range error”$ n% u/ Q8 N+ a+ R# ?( y
计算出错/ e6 l" s. H- G$ c, W, b
BTM769 : “RETURN executed”
执行opfail指令返回的结果- A- D* U- K) N& \' P# z# Z0 T ?
BTM770 : “Run limit exceeded because the BTM Fee is insufficient”
Gas费用不足,引起合约终止$ E0 E3 t0 w( R2 P! @9 w [" N" I
BTM771 : “Unexpected end of program”6 a! F7 u5 O5 V! J% Y4 i
合约程序参数输入错误3 ]0 N3 ^/ S1 }0 h! Y+ k S* `
BTM772 : “Unrecognized token”3 {! _- p3 D( W& j J
不识别的虚拟机指令数据* B5 K0 h4 e% ?& ~5 } c
BTM773 : “Unexpected error”
异常错误
BTM774 : “Unsupported VM because the version of VM is mismatched”
虚拟机版本不匹配. n7 F* V: c( n
BTM775 : “VERIFY failed”
verify指令执行失败! K' b! w: X$ ^; V
8XX 为HSM相关错误6 r$ J9 ?# B& D( B/ T9 ]
BTM800 :“Key Alias already exists”3 I+ n2 K6 ]( }6 y! w3 J. b
密钥别名重复
BTM801 :“Invalid after in query”
此错误已废弃' Y3 U0 Y% x5 a& T9 A
BTM802 : “Key not found or wrong password”6 r2 M8 J+ R! J, D: M# n$ m
密钥不存在或者密码错误: P- R9 K8 H; G$ e8 B. Z
BTM803 : “Requested key aliases exceeds limit”
此错误已废弃5 r6 Z7 F; Z+ ]% @
BTM804 :“Could not decrypt key with given passphrase”, z; J) y u( P0 `4 H0 h+ p. Q
解密流程失败
BTM860", “Request could not be authenticated”& X" T9 J- k1 ]- [
access token错误
成为第一个吐槽的人