Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nucleo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Miguel Montes
nucleo
Commits
2fad69b8
Commit
2fad69b8
authored
6 years ago
by
Robert Martin-Legene
Browse files
Options
Downloads
Patches
Plain Diff
Removing sealeradd/sealerrem
parent
46ac202b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+0
-6
0 additions, 6 deletions
README.md
bin/sealeradd.sh
+0
-20
0 additions, 20 deletions
bin/sealeradd.sh
bin/sealerrem.sh
+0
-1
0 additions, 1 deletion
bin/sealerrem.sh
with
0 additions
and
27 deletions
README.md
+
0
−
6
View file @
2fad69b8
...
...
@@ -80,12 +80,6 @@ Administra un *smart contract* de la Destilería ya desplegado. Va a mostrar
las cuentas registradas y la cantidad de Ether configurada ("
*allowance*
") de
cada una de ellas.
## sealeradd.sh / sealerrem.sh
Cuando un operador de un sellador vota para promover o remover un sellador,
este script hace la mayor parte. Toma un solo argumento, el número de la
cuenta del sellador por el cual se vota.
## unlock.js
Debloqua las cuentas del sistema (vease tambien
`monitor.js`
). Si una cuenta
...
...
This diff is collapsed.
Click to expand it.
bin/sealeradd.sh
deleted
100755 → 0
+
0
−
20
View file @
46ac202b
#!/bin/bash
# Robert Martin-Legene <robert@nic.ar>
# Proposes to promote a new sealer or to demote an existing sealer.
# Also sends this vote to the new Sealers contract, so we have a place
# a contract can look up which addresses are sealers.
if
[
-z
"
${
BFAHOME
}
"
]
;
then
echo
"
\$
BFAHOME not set. Did you source bfa/bin/env ?"
>
&2
;
exit
1
;
fi
source
${
BFAHOME
}
/bin/libbfa.sh
||
exit
1
operation
=
"false"
if
[
$(
basename
$0
)
==
"sealeradd.sh"
]
then
operation
=
"true"
fi
victim
=
"
$1
"
(
echo
"clique.propose(
\"
0x
${
victim
#0x
}
\"
,
${
operation
}
);"
contractSendTx Sealers admin_promote
\"
0x
${
victim
#0x
}
\"
${
operation
}
)
| geth_attach
This diff is collapsed.
Click to expand it.
bin/sealerrem.sh
deleted
120000 → 0
+
0
−
1
View file @
46ac202b
sealeradd.sh
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment