Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Merge requests
!30
[enh]
#27
: add transaction prompt confirmation with tx summary.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[enh]
#27
: add transaction prompt confirmation with tx summary.
transaction_confirmation
into
master
Overview
3
Commits
1
Pipelines
0
Changes
2
Merged
Moul
requested to merge
transaction_confirmation
into
master
8 years ago
Overview
3
Commits
1
Pipelines
0
Changes
2
Expand
add
-y
and
--yes
options for automated transactions to bypass this prompt.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c7fbd281
1 commit,
7 years ago
2 files
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/commands.py
+
4
−
1
Options
@@ -212,7 +212,10 @@ def cmd_transaction(ep, c):
else
:
outputBackChange
=
None
generate_and_send_transaction
(
ep
,
seed
,
amount
,
output
,
comment
,
allSources
,
outputBackChange
)
if
c
.
contains_switches
(
'
yes
'
)
or
c
.
contains_switches
(
'
y
'
)
or
\
input
(
"
Do you confirm sending {} {} from {} to {} with
\"
{}
\"
as comment? [yes/no]:
"
\
.
format
(
amount
,
get_current_block
(
ep
)[
"
currency
"
],
get_publickey_from_seed
(
seed
),
output
,
comment
))
==
"
yes
"
:
generate_and_send_transaction
(
ep
,
seed
,
amount
,
output
,
comment
,
allSources
,
outputBackChange
)
def
show_amount_from_pubkey
(
ep
,
pubkey
):
Loading