Commit 63d974b3 authored by 李伟@五瓣科技's avatar 李伟@五瓣科技

add suggest value

parent a2d0f5fa
...@@ -137,11 +137,17 @@ func (web *WebServicer) ParamHandler(w http.ResponseWriter, r *http.Request) { ...@@ -137,11 +137,17 @@ func (web *WebServicer) ParamHandler(w http.ResponseWriter, r *http.Request) {
MaxToAddrsNum int64 `json:"max_to_addrs_num"` MaxToAddrsNum int64 `json:"max_to_addrs_num"`
MaxRequestAmount int64 `json:"max_request_amount"` MaxRequestAmount int64 `json:"max_request_amount"`
MaxTxCount int64 `json:"max_tx_count"` MaxTxCount int64 `json:"max_tx_count"`
SuggestRequestAmount int64 `json:"suggest_request_amount"`
SuggestTxCount int64 `json:"suggest_tx_count"`
SuggestEveryTxAmount int64 `json:"suggest_every_tx_amount"`
}{} }{}
resp.MaxToAddrsNum = MaxToAddrsNum resp.MaxToAddrsNum = MaxToAddrsNum
resp.MaxTxCount = MaxTxCount resp.MaxTxCount = MaxTxCount
resp.MaxRequestAmount = MaxRequestAmount resp.MaxRequestAmount = MaxRequestAmount
resp.SuggestRequestAmount = 1000000
resp.SuggestTxCount = 1000000
resp.SuggestEveryTxAmount = 1
for i := 1; i <= 1001; i++ { for i := 1; i <= 1001; i++ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment