Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
multisend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟@五瓣科技
multisend
Commits
63d974b3
Commit
63d974b3
authored
Mar 17, 2022
by
李伟@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add suggest value
parent
a2d0f5fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
http.go
http.go
+11
-5
No files found.
http.go
View file @
63d974b3
...
...
@@ -132,16 +132,22 @@ func (web *WebServicer) ParamHandler(w http.ResponseWriter, r *http.Request) {
}
resp
:=
struct
{
From
string
`json:"from"`
ToAddrs
[]
string
`json:"to_addrs"`
MaxToAddrsNum
int64
`json:"max_to_addrs_num"`
MaxRequestAmount
int64
`json:"max_request_amount"`
MaxTxCount
int64
`json:"max_tx_count"`
From
string
`json:"from"`
ToAddrs
[]
string
`json:"to_addrs"`
MaxToAddrsNum
int64
`json:"max_to_addrs_num"`
MaxRequestAmount
int64
`json:"max_request_amount"`
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
.
MaxTxCount
=
MaxTxCount
resp
.
MaxRequestAmount
=
MaxRequestAmount
resp
.
SuggestRequestAmount
=
1000000
resp
.
SuggestTxCount
=
1000000
resp
.
SuggestEveryTxAmount
=
1
for
i
:=
1
;
i
<=
1001
;
i
++
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment