This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> rm -rf flextesa | |
> git clone git@gitlab.com:tezos/flextesa.git | |
> cd flextesa | |
> opam switch create . ocaml-base-compiler.4.09.1 | |
> opam switch import --switch some-name src/tezos-master.opam-switch | |
> eval $(opam env) | |
> eval $(opam env) | |
> make vendors | |
> make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
-- Differences in PaLa wrt Streamlets | |
-------------------------------------------------------------------------------- | |
There are 2 types of blocks in the chain: normal vs. timeout, where timeout blocks | |
have a gap in their epoch number wrt the previous block. This distinction seems to | |
only be used in the proofs, and is not part of the algorithm. | |
Switching leaders ("proposers ") with every block is optional. An alternative | |
procedure, where the role of the leader only changes when certain conditions are | |
met can also be used |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------------------------- | |
Nodes participating in the consensus: | |
---------------------------------------------------------------------------------------------------- | |
n total nodes, with public keys, etc. known to all nodes | |
At most n/3 corrupt nodes (static list of corrupt nodes, does not change). | |
Corrupt nodes can deviate arbitrarily from the protocol, including delaying messages. | |
Each node maintains its own copy of the blockchain | |
---------------------------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ [], [], [], | |
[ { "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", | |
"chain_id": "NetXKMbjQL2SBox", | |
"hash": "ooHzrho63y6z46sEqJhg6pA7NhvysD3yWtsaYHmgNyeXWgvMkQL", | |
"branch": "BL4YwwH8wHPGstFz7uX8yPvQ3pvzG9ErHPQBnriFVrgiqiFcMZS", | |
"contents": | |
[ { "kind": "transaction", | |
"source": "tz1YPSCGWXwBdTncK2aCctSZAXWvGsGwVJqU", "fee": "4861", | |
"counter": "2", "gas_limit": "43445", "storage_limit": "277", | |
"amount": "0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2020-08-26T20:37:06-00:00] | |
multisig: ((num_signers 1) (outer_repeat 4) (contract_repeat 1)) | |
[2020-08-26T20:37:30-00:00] | |
[2020-08-26T20:37:30-00:00] | |
Sleep for 2.49 seconds | |
[2020-08-26T20:37:33-00:00] | |
[2020-08-26T20:37:33-00:00] | |
Sleep for 2.12 seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: tqtezos | |
--- | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: tezos-pv-claim | |
namespace: tqtezos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl describe pod -n tqtezos | |
Name: genkeys-b9fvf | |
Namespace: tqtezos | |
Priority: 0 | |
Node: minikube/192.168.99.122 | |
Start Time: Tue, 28 Apr 2020 15:05:24 -0400 | |
Labels: controller-uid=9fb125aa-be82-4dcc-b8fe-7dfa37fe0fea | |
job-name=genkeys | |
Annotations: <none> | |
Status: Failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ip-172-31-2-137:~/private-tezos-blockchain$ sudo docker run --network host --expose 8733 -v ubuntu-tezos-volume:/base-dir -i -t ubuntu-tezos start-baker --net-address "" --net-addr-port 8733 --rpc-address "" --rpc-addr-port 8732 --peer ec2-3-12-165-223.us-east-2.compute.amazonaws.com:8733 | |
Container IP: 172.31.2.137 | |
start-baker -- incoming params: | |
--base-dir /base-dir --tezos-client /base-dir/tezos-client --tezos-node /base-dir/tezos-node --tezos-baker /base-dir/tezos-baker-006-PsCARTHA --tezos-endorser /base-dir/tezos-endorser-006-PsCARTHA --net-addr :8733 --rpc-addr :8732 --no-background-node --peer ec2-3-12-165-223.us-east-2.compute.amazonaws.com:8733 | |
Warning: | |
Failed to acquire the protocol version from the node | |
Rpc request failed: | |
- meth: GET | |
- uri: http://localhost:8732/chains/main/blocks/head/protocols | |
- error: Unable to connect to the node: "Unix.Unix_error(Unix.ECONNREFUSED, "connect", "")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu@ip-172-31-2-114:~/private-tezos-blockchain$ sudo docker exec flamboyant_austin ./scripts/activate-protocol.sh \ | |
> --node-ip localhost --node-port 8732 \ | |
> --base-dir /base-dir --tezos-client /base-dir/tezos-client \ | |
> --parameters /parameters.json | |
>>>>0: http://localhost:8732/network/version | |
<<<<0: 200 OK | |
{ "chain_name": "TEZOS_ALPHANET_CARTHAGE_2019-11-28T13:02:13Z", | |
"distributed_db_version": 0, "p2p_version": 1 } | |
>>>>1: http://localhost:8732/chains/main/blocks/genesis/protocols | |
<<<<1: 200 OK |