Welcome to the official repository for Steem, the blockchain that will revolutionize the web, and soon the blockchain for Smart Media Tokens!
Steem is the first blockchain which introduced the "Proof of Brain" social consensus algorithm for token allocation.
Being one of the most actively developed blockchain projects currently in existence, it's become fertile soil for entrepreneurial pursuits. It has also become home for many cryptocurrency centric projects.
Steem aims to be the preferred blockchain for dApp development with Smart Media Tokens at its core. With SMTs, everyone can leverage the power of Steem.
Originally, Steem was announced on the Bitcointalk forum prior to the start of any mining. (Steem is currently not mineable)
Getting started with Steem is fairly simple. You can either choose to use docker-images, build with docker manually or build from source directly. All steps have been documented and while many different OS are supported, the easiest one is Ubuntu 16.04.
Just want to get up and running quickly? We have pre-built Docker images for your convenience. More details are in our Quickstart Guide.
We strongly recommend using one of our pre-built Docker images or using Docker to build Steem. Both of these processes are described in the Quickstart Guide.
But if you would still like to build from source, we also have build instructions for Linux (Ubuntu LTS) and macOS.
To run a p2p node (ca. 2GB of memory is required at the moment):
docker run
-d -p 2001:2001 -p 8090:8090 --name steemd-default
steemit/steem
docker logs -f steemd-default # follow along
To run a node with all the data (eg for supporting a content website) ca. 14GB of memory, and growing, is required:
docker run
--env USE_WAY_TOO_MUCH_RAM=1 --env USE_FULL_WEB_NODE=1
-d -p 2001:2001 -p 8090:8090 --name steemd-full
steemit/steem
docker logs -f steemd-full
We provide a basic cli wallet for interfacing with steemd . The wallet is self-documented via command line help. โหนดที่คุณเชื่อมต่อกับ Via CLI Wallet จำเป็นต้องเรียกใช้ account_by_key_api , condenser_api และจำเป็นต้องกำหนดค่าให้ยอมรับการเชื่อมต่อ WebSocket ผ่าน webserver-ws-endpoint
See doc/devs/testing.md for test build targets and info on how to use lcov to check code test coverage.
Run steemd once to generate a data directory and config file. The default location is witness_node_data_dir . Kill steemd . It won't do anything without seed nodes. If you want to modify the config to your liking, we have two example configs used in the docker images. (ฉันทามติโหนดเต็มโหนด) ตัวเลือกทั้งหมดจะอยู่ในไฟล์กำหนดค่าเริ่มต้นและอาจมีตัวเลือกเพิ่มเติมที่จำเป็นต้องเปลี่ยนจากการกำหนดค่า Docker (ตัวเลือกบางตัวที่ใช้จริงในรูปภาพจะถูกกำหนดค่าผ่านบรรทัดคำสั่ง)
A list of some seed nodes to get you started can be found in doc/seednodes.txt.
ไฟล์เดียวกันนี้ถูกอบลงในภาพ Docker และสามารถแทนที่ได้โดยการตั้งค่า STEEMD_SEED_NODES ในสภาพแวดล้อมคอนเทนเนอร์ที่ docker run Time เป็นรายการที่คั่นด้วยช่องว่างของโหนดเมล็ด (พร้อมพอร์ต)
There are quite a few environment variables that can be set to run steemd in different ways:
USE_WAY_TOO_MUCH_RAM - if set to true, steemd starts a 'full node'USE_FULL_WEB_NODE - if set to true, a default config file will be used that enables a full set of API's and associated plugins.USE_NGINX_FRONTEND - if set to true, this will enable an NGINX reverse proxy in front of steemd that proxies WebSocket requests to steemd. This will also enable a custom healthcheck at the path '/health' that lists how many seconds away from current blockchain time your node is. It will return a '200' if it's less than 60 seconds away from being synced.USE_MULTICORE_READONLY - if set to true, this will enable steemd in multiple reader mode to take advantage of multiple cores (if available). Read requests are handled by the read-only nodes and write requests are forwarded back to the single 'writer' node automatically. NGINX load balances all requests to the reader nodes, 4 per available core. This setting is still considered experimental and may have trouble with some API calls until further development is completed.HOME - set this to the path where you want steemd to store it's data files (block log, shared memory, config file, etc). By default /var/lib/steemd is used and exists inside the docker container. หากคุณต้องการใช้จุดเมานต์อื่น (เช่น Ramdisk หรือไดรฟ์อื่น) คุณอาจต้องการตั้งค่าตัวแปรนี้เพื่อแมประดับเสียงเข้ากับคอนเทนเนอร์ Docker ของคุณ Steemd now supports a PaaS mode (platform as a service) that currently works with Amazon's Elastic Beanstalk service. It can be launched using the following environment variables:
USE_PAAS - if set to true, steemd will launch in a format that works with AWS EB. Containers will exit upon failure so that they can be relaunched automatically by ECS. This mode assumes USE_WAY_TOO_MUCH_RAM and USE_FULL_WEB_NODE , they do not need to be also set.S3_BUCKET - set this to the name of the S3 bucket where you will store shared memory files for steemd in Amazon S3. พวกเขาจะถูกจัดเก็บไว้ในรูปแบบ BZ2 ด้วยชื่อไฟล์ blockchain-$VERSION-latest.tar.bz2 โดยที่ $ เวอร์ชันคือหมายเลขปล่อยตามด้วย Git สั้น ๆ ที่เก็บไว้ในแต่ละภาพนักเทียบท่า At /etc/steemdversionSYNC_TO_S3 - if set to true, the node will function to only generate shared memory files and upload them to the specified S3 bucket. This makes fast deployments and autoscaling for steemd possible. For a full web node, you need at least 110GB of disk space available. Steemd uses a memory mapped file which currently holds 56GB of data and by default is set to use up to 80GB. The block log of the blockchain itself is a little over 27GB. ขอแนะนำให้เรียกใช้ Steemd บนดิสก์อย่างรวดเร็วเช่น SSD หรือโดยการวางไฟล์หน่วยความจำที่ใช้ร่วมกันใน Ramdisk และใช้ตัวเลือกบรรทัดคำสั่ง --shared-file-dir=/path เพื่อระบุตำแหน่ง At least 16GB of memory is required for a full web node. Seed nodes (p2p mode) can run with as little as 4GB of memory with a 24 GB state file. Any CPU with decent single core performance should be sufficient. Steemd is constantly growing. As of August 2017, these numbers were accurate, but you may find you need more disk space to run a full node. We are also constantly working on optimizing Steem's use of disk space.
On Linux use the following Virtual Memory configuration for the initial sync and subsequent replays. It is not needed for normal operation.
echo 75 | sudo tee /proc/sys/vm/dirty_background_ratio
echo 1000 | sudo tee /proc/sys/vm/dirty_expire_centisecs
echo 80 | sudo tee /proc/sys/vm/dirty_ratio
echo 30000 | sudo tee /proc/sys/vm/dirty_writeback_centisecs
ซอฟต์แวร์มีให้ "ตามสภาพ" โดยไม่มีการรับประกันใด ๆ ไม่ว่าโดยชัดแจ้งหรือโดยนัยรวมถึง แต่ไม่ จำกัด เฉพาะการรับประกันความสามารถในการค้าการออกกำลังกายสำหรับวัตถุประสงค์เฉพาะและการไม่เข้าร่วม ไม่ว่าในกรณีใดผู้เขียนหรือผู้ถือลิขสิทธิ์จะต้องรับผิดชอบต่อการเรียกร้องความเสียหายหรือความรับผิดอื่น ๆ ไม่ว่าจะเป็นการกระทำของสัญญาการละเมิดหรืออื่น ๆ ที่เกิดขึ้นจากหรือเกี่ยวข้องกับซอฟต์แวร์หรือการใช้งานหรือการติดต่ออื่น ๆ ในซอฟต์แวร์