mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-06 23:18:37 +00:00
This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
40 lines
1 KiB
YAML
40 lines
1 KiB
YAML
---
|
|
- name: update package list
|
|
sudo: true
|
|
apt: update_cache=true
|
|
|
|
- name: install docker dependencies
|
|
sudo: true
|
|
apt: name={{ item }} install_recommends=false
|
|
with_items:
|
|
# Docker has serious problems on EC2: http://www.danstutzman.com/2014/07/speed-up-docker-on-ec2
|
|
# and https://github.com/docker/docker/issues/4036
|
|
- linux-generic
|
|
- python-pip
|
|
|
|
- name: Kernel update needs a restart
|
|
sudo: true
|
|
command: shutdown -r now
|
|
async: 0
|
|
poll: 0
|
|
ignore_errors: true
|
|
|
|
- name: waiting for server to come back
|
|
local_action: wait_for host={{ inventory_hostname }} port=22
|
|
state=started
|
|
sudo: false
|
|
|
|
- name: install docker
|
|
sudo: true
|
|
# install script from https://docs.docker.com/installation/ubuntulinux/
|
|
# TODO this is not idempotent
|
|
shell: curl -sSL https://get.docker.com/ubuntu/ | sudo sh
|
|
|
|
- name: install docker python API
|
|
sudo: true
|
|
pip: name=docker-py
|
|
|
|
- name: enable docker for standard user
|
|
sudo: true
|
|
user: name={{ ansible_ssh_user }} groups=docker append=yes
|
|
notify: restart sshd
|