Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellframe-tool-sign
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-tool-sign
Merge requests
!5
Hotfix 15034
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Hotfix 15034
hotfix-15034
into
main
Overview
0
Commits
7
Pipelines
7
Changes
2
Merged
daniil.frolov
requested to merge
hotfix-15034
into
main
2 months ago
Overview
0
Commits
7
Pipelines
7
Changes
1
Expand
👍
0
👎
0
Merge request reports
Compare
version 2
version 5
c81a8e1d
1 month ago
version 4
13880361
1 month ago
version 3
30ea0955
1 month ago
version 2
7147384f
2 months ago
version 1
e422f888
2 months ago
main (base)
and
version 3
latest version
ca2e46cc
7 commits,
1 month ago
version 5
c81a8e1d
6 commits,
1 month ago
version 4
13880361
5 commits,
1 month ago
version 3
30ea0955
4 commits,
1 month ago
version 2
7147384f
3 commits,
2 months ago
version 1
e422f888
2 commits,
2 months ago
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
main.c
+
3
−
3
Options
@@ -44,7 +44,7 @@
static
struct
option
const
options
[]
=
{
{
"wallet"
,
required_argument
,
0
,
'w'
},
{
"passwd"
,
required_argument
,
0
,
'p'
},
{
"passw
or
d"
,
required_argument
,
0
,
'p'
},
{
"filename"
,
required_argument
,
0
,
'f'
},
{
"out"
,
required_argument
,
0
,
'o'
},
{
"create"
,
no_argument
,
0
,
'c'
},
@@ -67,7 +67,7 @@ void bad_option(){
"Signs the datum passed to the input by specified wallet and send its items in json-format.
\n\r
"
"Datum sign options:
\n\r
"
"
\t
-w, --wallet specifies path to wallet for datum sign or wallet name
\n\r
"
"
\t
-p, --passwd specifies walled password if needed
\n\r
"
"
\t
-p, --passw
or
d specifies walled password if needed
\n\r
"
"
\t
-f, --filename specifies input json-file wits datum items. If not specified, it will be received from stdin
\n\r
"
"
\t
-o, --out specifies output json-file. If not specified, it will be send into stdout
\n\r
"
"
\t
-b, --beauty enables output JSON beautification
\n\r
"
@@ -325,7 +325,7 @@ int main(int argc, char **argv)
dap_chain_wallet_t
*
l_wallet
=
dap_chain_wallet_open_file
(
l_wallet_path
,
l_pwd
,
NULL
);
if
(
!
l_wallet
)
{
dap_chain_datum_tx_delete
(
l_tx
);
printf
(
"Can't open wallet
\n\r
"
);
printf
(
"Can't open wallet
%s
\n\r
"
,
l_wallet_path
);
DAP_DELETE
(
l_input_data
);
return
-
1
;
}
Loading