Bitcoin Forum
May 04, 2024, 06:23:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: none
. - 0 (0%)
. - 0 (0%)
Total Voters: 0

Pages: « 1 ... 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 [120] 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
Author Topic: 🌱[ANN] SOIL | Environmental | Agriculture | Smart Contracts | Sustainable  (Read 237558 times)
abvhiael
Hero Member
*****
Offline Offline

Activity: 722
Merit: 501


View Profile
May 09, 2017, 12:00:39 AM
 #2381

updates to the go-soil protocols thru the upcoming hard fork that will bring us to near-congruency with the codebase offered thru ETH. (documenting upstream from changes introduced via go-ethereum 1.4.11 (Minor Text Fixes) thru

A new build script, ci.go, was released to replace some of the older shell scripts, and can compile go-soil, run the tests and create release archives as well as debian source packages. The ci command is named from "Continuous Integration" scripts. The idea put forth is for Ubuntu packages is to run ci.go alongside the buildbot-based PPA uploads. This is meant to streamline build processes of different code changes to the core system, both soft and hard fork types.

Usage:
Code:
go run ci.go <command> <command flags/arguments>

the available commands are:
 install    [ packages... ]                                  -- builds packages and executables
 test       [ -coverage ] [ -vet ] [ packages... ]   -- runs the tests
 archive    [ -type zip|tar ]                               -- archives build artefacts
 importkeys                                                    -- imports signing keys from env
 debsrc     [ -sign key-id ] [ -upload dest ]        -- creates a debian source package

Several security fixes were set up, generally in response to different DOS attacks that Ethereum, and other Dagger parallel currencies experienced at the time, generally finding that certain opcodes that read the state tree were under-priced in gas costs relative to other opcodes. These were used with recursive attack vectors to degrade network performance via transaction spam. Gas costs were significantly raised for EXTCODESIZE, EXTCODECOPY, CALL, CALLDELEGATE, CALLCODE which makes DOS attacks geared towards system computational degradation through "transaction spam" generally more costly than would be worth the possible damage. Replay attack protection was instituted to prevent transactions from a forked chain (eg ETH forked from ETC) being considered as legitimate on the other chain by introducing a CHAIN_ID variable.

this may come in handy later when cross-chain alt-etherea such as SOIL, ETC, UBQ et al can freely communicate, either directly or via bridged smart contracts, with assets identified by their host CHAIN_ID.

Contract code has also been placed with a size limit to assist in defending against "transaction spam" attacks. The solution decided upon was to put a hard cap on the size of an object (contract code file) that can be saved to the blockchain, in a non-disruptive way. The size cap is set at a value slightly higher than what is feasible with current gas limits (a worst-case scenario sort of contract can be created with ~23200 bytes using the 4.7 million gas/block limit, whereas a normally created contract can go up to ~18 kb).

Ill finish up withthe update documentations tomorrow... theres a hockey game on. Some things take precedence. Have a great night...............



1714846981
Hero Member
*
Offline Offline

Posts: 1714846981

View Profile Personal Message (Offline)

Ignore
1714846981
Reply with quote  #2

1714846981
Report to moderator
1714846981
Hero Member
*
Offline Offline

Posts: 1714846981

View Profile Personal Message (Offline)

Ignore
1714846981
Reply with quote  #2

1714846981
Report to moderator
1714846981
Hero Member
*
Offline Offline

Posts: 1714846981

View Profile Personal Message (Offline)

Ignore
1714846981
Reply with quote  #2

1714846981
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714846981
Hero Member
*
Offline Offline

Posts: 1714846981

View Profile Personal Message (Offline)

Ignore
1714846981
Reply with quote  #2

1714846981
Report to moderator
1714846981
Hero Member
*
Offline Offline

Posts: 1714846981

View Profile Personal Message (Offline)

Ignore
1714846981
Reply with quote  #2

1714846981
Report to moderator
abvhiael
Hero Member
*****
Offline Offline

Activity: 722
Merit: 501


View Profile
May 10, 2017, 12:22:02 AM
 #2382

further documentation of changes to the underlying SOILcoin protocols and Go-OS initialized by the upcoming hard forks, bringing our code base to near congruence with Ethereum's operational ability:

via the 1.5.0 release of go-ethereum:

*Changes to the RPC API*

The behavior of eth_sign is changed. It now accepts an arbitrary message, prepends a known message ["\x19Ethereum Signed Message:\n" + len(message)], hashes the result using keccak256, and then calculates the signature of the hash (breaking backwards compatibility). By adding a prefix to the message, this makes the calculated signature recognizable as an Ethereum-ecosystem specific signature. This prevents misuse where a malicious DApp can sign arbitrary data (e.g. transaction) and use the signature to impersonate the victim.

Added RPC calls related to this function include personal_sign, which functions similarly to eth_sign but also accepts a password; and personal_recover, which returns the address of the account that created the signature.

usage:
personal_recover(message, signature)
personal_sign(hash, address [, password])

Further, other added RPC functions are:
personal_importRawKey : import an unencrypted private key via RPC.
eth_getRawTransaction : returns the RLP encoding of a transaction.

debug_traceTransaction : run a transaction via debugging in the exact same manner as it was executed on the network. Alongside the  transaction hash, optional secondary arguments can be specified:

disableStorage: BOOL. Setting this to true will disable storage capture (default = false).
disableMemory: BOOL. Setting this to true will disable memory capture (default = false).
disableStack: BOOL. Setting this to true will disable stack capture (default = false).
fullStorage: BOOL. Setting this to true will return you, for each opcode, the full storage. This is a slow process. (default = false)

tracer: STRING. Setting this will enable JavaScript-based transaction tracing. If set, the previous four options will be ignored. JavaScript-based tracing enables the user to evaluate an object with (at least) two methods, named step and result. Step is a function that takes two arguments, log and db, which are called for each step of the EVM, as the specified transaction is traced.

The log contains the following fields:

pc: Number, the current program counter
op: Object, an OpCode object representing the current opcode
gas: Number, the amount of gas remaining
gasPrice: Number, the cost in wei of each unit of gas
memory: Object, a structure representing the contract's memory space
stack: array[big.Int], the EVM execution stack
depth: The execution depth
account: The address of the account executing the current operation
err: If an error occured, information about the error

db has the following methods:

getBalance(address) - returns a big.Int with the specified account's balance
getNonce(address) - returns a Number with the specified account's nonce
getCode(address) - returns a byte slice with the code for the specified account
getState(address, hash) - returns the state value for the specified account and the specified hash
exists(address) - returns true if the specified address exists

timeout: STRING. Overrides the default timeout of 5 seconds for JavaScript-based tracing calls. Optional string values are discussed at length in the go language documentation at https://golang.org/pkg/time/#ParseDuration

USAGE:
Go:            debug.TraceTransaction(txHash common.Hash, logger *vm.LogConfig) (*ExecutionResurt, error)
Console:    debug.traceTransaction(txHash, [options])
RPC:        {"method": "debug_traceTransaction", "params": [txHash, {}]}

Features added into the 1.5.0 (Let There Be Light) release, but flagged as "experimental" but show the sorts of functions that are being added into the performance of the SOILnet EVM which will allow us to build bigger and better applications going forward. Naturally we will maintain observation of code-releases from Ethereum Core, and when these features are stablized we will document them further, but as of yet, I havent had the chance to test them on the SOILnet, it is simply nice to know that these attributes are becoming available. Typical caeat... use these features at your own risk.

*gsoil will be enabled to run in Light Client mode with the --light flag. Light client mode syncs recent block headers and fetches state values on demand. NOTE: light client servers will need to be first made available. Users can set up as a light-client server using the --lightserv flag. A light server is a full node with "LES server" option enabled. i.e:

Code:
gsoil --lightserv 25 
allocates 25% of CPU power towards providing a Light Client Server

The purpose of the Light Ethereum Subprotocol (LES) protocol is to allow users in low-capacity environments (embedded "smart property" environments [eg: an object which hosts an externally-owned account or a contract account], IoT enabled devices, smartphones, browser extensions, older desktop computers and laptops, etc) to maintain high-security assurances regarding the current state of user-defined part of the SOILnet state or to verify the execution of transactions and smart contract operations. Light Clients do not run a full node, but can receive data from the network.

Light Clients will be able to perform many operations: requests regarding the state of an account (nonce, balance, code or storage index), requests regarding transaction confirmations (within  consumer-merchant scenarios), request block validations or set to watch for and log blockchain events, which is useful where a dApp needs to keep track of certain events that are nt part of the permanent state of the platform but need to be verifiable in an efficient manner, such as a decentralized exchange logging trades or internal wallet transactions.

Light Clients will also make cross-chain inter-operability much more feasible. As SOILcoin maintains a Bitcoin Light Client in the operation of the BTCrelay application, which allows a SOILnet resident smart contract to request verification of transactions occuring on the BTC blockchain to enable state changes (value transactions) on the SOILcoin blockchain, a SOILcoin Light Client may make it easier for other currencies to also build relays to SOILcoin, especially alt-etherea Dagger based currencies.

There are limitations to what the light client can do presently. The only pending transactions a light client knows about are the ones that have been created and sent from that client. Likewise, locally created transactions can only be found by searching for it's hash.  Finding other transactions is a bit trickier. Searching for events (transactions) in a long blockchain history will take an extremely long timeas searches are only performed in individual headers, rather than using a MIP-mapped filter as full clients use to search, in a faster and cheaper manner.

The advantages of Light Clients is that they take up far less disk space to maintain their database, allowing it the ability to sync in minutes, but nonetheless fully interacts with the SOILcoin blockchain, and is usable through the DUST browser for SOILsafe.
 
*The Swarm daemon (bzzd) and associated helper tools are included with the latest go-soil builds and are somewhat functional. SWARM is the EVM protocol designed for decentralized file storage. The release included with go-soil is considered a Proof-of-Concept implementation of the Swarm protocol. It is included as a separate daemon process (and inherently executable binary), not embedded inside gsoil.

The objective of Swarm is to provide a decentralized store of and distribution channel for dApp code and data as well as other user defined data. Participants will be able to efficiently pool storage and bandwidth resources to provide these as services to other participants as an on-chain P2P data-storage and data-serving protocol that is DDOS-resistant, and which thanks to the underlying SOILcoin blockchain, maintains "zero-downtime" (data delivery would be based upon average block times),  and is designed to be self-sustaining with a built-in incentivization system which leverages p2p accounting, permitting the exchange of resources (storage space, bandwidth) for payment.

Swarm will, as a native base layer of the SOILcoin web three stack, continue to evolve its services and implementations, and dApps are already appearing to leverage this technology: album - a photo album dapp with a set of public-domain photographs that lets users upload their own photos; and filemanager - a GUI explorer for file collections hosted on the swarm.

Swarm is designed to deeply integrate with the devp2p multiprotocol network layer of SOILcoin, as an alt-etherea currency, as well as with the SOILcoin blockchain for application services (domain name registration, payments for services, etc). Naturally, as this is rolled onto the SOILcoin network and tested, we will endeavor to provide much more in-depth documentation regarding its usage, and how to set up Swarm clients for both sides of the economic model, as well as ensure swarm-dApps a

Ive followed the Swarm project as it has moved towards implementation within go-ethereum, and this will be one of the projects getting a lot of my attention over the next few months as its integration onto the network layer of SOILcoin becomes hardcoded. The project is running smoothly on the Ethereum blockchain, and is actually hosting its own homepage, at:
http://swarm-gateways.net/bzz:/1b5d887cea699d18560ae6dcaf06676f5064f630978b8031d9beb6fbddd82a82

SWARM was touted as one of the three cornerstones to the EVM, and as you can see, can also be used to deliver a decentralized web via serverless content hosting, with support for browsing directly integrated within the DUST wallet for SOILsafe when we follow ETH into Metropolis. There is a TON of documentation for swarm, and thatll definitely have to be another day.

*Whisper v5 PoC code is included in the repository, but not enabled yet. Whisper protocols will enable not only users to communicate with each other, but for contracts to communicate with other contracts. Whisper is considered the third cornerstone to a decentralized internet, and has many use cases: a decentralized exchange dApp may use Whisper to broadcast an offer to sell an asset at a specific rate, and could advertise this for a set amount of time, from several minutes minutes to days. Some dAppswill require signals from eachother in order to ultimately collaborate on a transaction. Whisper can be used to build chat-rooms, or to provide "dark communications" between two parties that have no knowledge of eachother beyond a hash, with source and destination hidden from both parties, and may also leverage Swarm for file transfers initiated from Whisper chats.

As with Swarm, there is a ton of documentation for the usage of Whisper, and as it is made more available for usage, we will endeavour to provide those sorts of guides for both Whisper and Swarm on go-soil. The Whisper overview on the Ethereum wiki is a good place to start to understand how to interact with Whisper (https://github.com/ethereum/wiki/wiki/Whisper-Overview) but we'll try to include this sort of information when Whisper implementation is fully realized.

*go-ethereum is able to be used as a library in Android (Java) and iOS (ObjC/Swift) projects with the 1.5.0 code release. abigen, discussed in a previous post, has gained preliminary support for creating Java bindings to EVM-level smart contracts. this may make running full node or light clients on Android and iOS devices much more attainable, and again, opens up interactivity for building projects such as the DUST wallet for SOILsafe on a smart phone, allowing for dApp interaction, file storage and service thru Swarm or anonymous messaging thru Whisper.

essentially a lot of the changes reflected in the newer code changes to Ethereum which we are upgrading SOILcoin to are providing the architecture needed to begin building those sorts of distributed applications for the industries we indentified as underserved and most likely to benefit from the sort of decentralized services our blockchain will be able to offer at a exponentially smaller cost than current models of cloud service delivery, or virtual hosting needs.

capitalizing on these advantages over the next few years will be what sets SOILcoin aside from other projects, and these evolutionary adjustments to what we can offer brings the IDEA of what the SOILnet can offer more than a few steps closer. theres a lot of work to be done, but every step made makes the SOILnet that much more accessible and readily available, even to users who wont even realize they are interacting with it (decentralized webpages), which is the ultimate idea behind a decentralized web.

more to come, as ETH wasnt done improving their codebase, and those changes reflect to how the SOILnet operates, and what it is capable of. honestly, the tools we are making available EXCITE me, almost as much as when hearing about Ethereum for the first time somewhere near two years ago and getting involved on their test-net. this project has for a long time been about the possibilities of what we will be able to create and offer, and i knew early on that it would take time for the underlying infrastructure to catch up with the ideas that were floating around my brain. we're getting there now, we're approaching that point where EVERYTHING changes, where this technology finally disrupts every industry, and with SOILcoin focused on delivering applications that will ultimately serve to make this planet not only more efficient, but healthier and greener, we stand on the precipice of an age where every one of us can make a difference, where true collaboration without censorship can be achieved.

ive always been a somewhat utopian thinker, and realized early that blockchain technology.. extraspecially the EVM.. was going to be the game changer that alters society, and that adoption of these sorts of technology is a very exponential curve, we're still... 18 months after the genesis of the SOILnet... at the base of this curve, and we're still alive and... well... BLOCKING. i think we are better prepared to ride this wave than a lot of other alt-etheria, more so because i believe we have a better vision towards the scale of how big this can get, in a practical sense. hopefully with these sorts of changes, we can position ourselves to make some noise in the crypto world finally....
abvhiael
Hero Member
*****
Offline Offline

Activity: 722
Merit: 501


View Profile
May 10, 2017, 02:47:44 PM
 #2383

hopefully the final day of simply documenting the improvements and adjustments to the SOILnet taking effect with our scheduled hard forks in the new gsoil client release....

*gsoil will include a built-in netstats reporter with the ability to register a user node on the service simply thru the console. The ultimate goal would be to have the SOILcoin network intelligence tool return its report via a swarm-hosted page on the SOILnet, presently we will be able to take advantage of the service offered by miners-zone in correlation to their SOILcoin mining pool accessible at http://soil.miners-zone.net:9090/.  

Usage:
Code:
--ethstats "<nodename>:<secret>@soil.miners-zone.net:9090"

In case we had not covered this information previously, this page presents an overview of the current state of the SOILcoin blockchain. Although it is generally self-explanatory, for the sake of novices attending the page for the first time, the items represented are:
Quote
~Best Block : the highest block number of the longest valid chain.
~Uncles : are orphaned blocks, (i.e: not the canonical winning block) although with the reward and incentives system present on etheria-protocol blockchains, mined uncles are rewarded with a fractional block reward minting (7/8ths of a normal block reward) and included for reference in the blockchain. This stat hows the current block's uncle count and the uncle count of last 50 blocks.
~Last Block : shows the time since the last block was mined, usually in seconds.
~Average Block Time : the average time between two blocks, excluding uncles, in seconds. *with present difficulty adjustments, this should generally remain between 13 and 18 seconds.
~Average Network Hashrate : the number of hashes directed towards the network by stats-registered miners working to solve the current block.
~Difficulty: the current difficulty to solve the algorithmic problem required to mine a new block. The difficulty is just an arbitrary value, it has no unit. As an example, a block with a difficulty of 8 is 8 times more difficult than a difficulty 1 block.
~Active Nodes : the number of connected nodes to the SOILcoin network intelligence dashboard (not the number of nodes connedctied to the whole of the SOILnet)
~Gas Price : the price miners accept for gas costs while including a transaction within a block. Gas is used to calculate fees across the SOILnet for operations, with 50 gwei as the current default (0.00000005 SOIL).
~Gas Limit : the block gas limit. This defaults 4,712,388 gas, thus each block can include transactions until the gas limit is met filling the block. This function is analgous to BTC's block size limit which is making news regarding the split between BTC-Unlilmited and SegWit strategies, but this function on SOILcoin is not fixed in size.
~ Page Latency and Uptime are specific stats for the dashboard.
~Block Time : shows the actual time taken to solve the last 40 blocks.
~Difficulty Chart : shows the actual difficulty of the last 40 blocks. This graph is an easy way to see how the difficulty adjustment algorithm works to maintain a stable block time compared to immediate differences in network hash states.
~Block Propagation Chart : shows how fast blocks are shared among the nodes connected to the dashboard. Generally approximately 60% of connected nodes receive propogated new blocks within a quarter second, with whole network propogation coming in around 1.25 seconds.
~Last Block Miners are the public keys of the miners who found most of the last blocks. More often than not this will be a mining pool's address.
~Uncle Count Chart shows numbers of uncles per 25 blocks per bar. As mentioned above, uncles mined pay 7/8 of the normal block reward.
~Transactions Chart shows numbers of transactions included in last blocks.
~Gas Spending Chart shows how much gas was spent on transactions in each block, note the correlation to the transactions chart. (Miners receive these gas fees on top of their block reward.)
~Gas Limit Chart shows the dynamically adjusted block gas limit for each block.
And below you see details of nodes connected to the network stats page you are viewing.

*WHISPER : with implementation the second scheduled fork in the new gsoil client, the Whisper V5 protocols will be more enabled on teh SOILcoin blockchain. The Whisper Mail server package will be included in the go-soil distributions under cmd/wnode/main.go. While a full on user-manual will hopefully be prepared for SOILcoin before this fork takes place, this is at least a good time to bring up what Whisper means to the evolution of the SOILnet in general.

Whisper is designed to run as a built-in, network-level identity-based on-chain messaging system, peer-to-peer or contract-to-contract; using the underlying devp2p Wire Protocol. It is designed for simple and efficient message broadcasting, and for asynchronous communications. Using Whisper with the most secure options, this protocol can theoretically deliver "full darkness" to messaging, that  is pure anonymity regarding sender, location, etc. This level of privacy is set to be configurable.

All Whisper messages are encrypted, then sent via the devp2p protocol, which in turn uses its own encryption on top of Whisper encryption. These are placed in Envelopers, which contain the encrypted payload and some metadata in plaintext format necessary for the decryption. Envelopes are transmitted as RLP-encoded structures of the following format:

[ Version, Expiry, TTL, Topic, AESNonce, Data, EnvNonce ]

Quote
Version: up to 4 bytes, indicates encryption method. If Version is higher than current on the node, the envelope cannot be decrypted, and therefore will be only forwarded to available Whisper node peers.
Expiry time: 4 bytes (UNIX time in seconds).
TTL: 4 bytes (time-to-live in seconds).
Topic: 4 bytes of arbitrary data.
AESNonce: 12 bytes of random data (only present in case of symmetric encryption).
Data: byte array of arbitrary size (contains encrypted message).
EnvNonce: 8 bytes of arbitrary data (used for PoW calculation).

Messages can be decrypted by anyone who possesses the corresponding key. Every Whisper node may possess multiple symmetric and asymmetric keys, and upon Envelope receipt, the node will attempt to decrypt it with each of the keys, depending on Envelope's encryption mode. In the case of successful decryption, the plain message is passed to the corresponding dApp.

Whisper nodes have zero knowledge regarding the contents of Envelopes to which they cannot decrypt. Whisper nodes simply pass Envelopes around regardless of their ability to decrypt the message.

The purpose of PoW within the Whisper protocol is to prevent spam, which can be used as a DDOS attack vector; but also serves to reduce  the computational burden of Whisper interactions on the network. The cost of Whisper PoW can be regarded as the price paid for allocated resources if  the network is to store an Envelope for a specific time (TTL).  PoW for Whisper is designed to  be proportional to both message size and TTL.

In the current versioning of Whisper, PoW is defined as average number of iterations, required to find the current BestBit (the number of leading zero bits in the hash), divided by message size and TTL:

PoW = (2^BestBit) / (size * TTL)

Composing an Envelope from a basic payload, is designed to be accomplished in a few steps:

1.Compose the Envelope data (concatenating the relevant flag byte, padding, payload (randomly generated or provided by user), and an optional signature)
2.Encrypt the data symmetrically or asymmetrically.
3.Add a Topic.
4.Set the Time To Live attribute.
5.Set the expiry as the present Unix time plus TTL.
6.Set the nonce which provides the best PoW.

Expired messages cannot be resent via the normal Whisper channels, as they will be rejected and the peer punished. Thus, a Mail Server can be run, which would store all the messages, and resend them at the request of the known nodes through peer-to-peer communication with the node. The Mail Server can resend the expired messages directly to the recipient node, consuming the messages and no longer forwarding them any further along.

**we have a decent amount of time before both SWARM and WHISPER are fully integrated onto the SOILnet, and i will be certain to work with these two new cornerstones to our functionality to make them as user friendly and understandable as possible as they roll out into the main code as scheduled in the newest gsoil release. these are major milestones in the codebase for SOILcoin, and help us to really begin looking at the next generation dApps and content providing that will be available via the SOILcoin network.

there are only a few other releases worth of feature additions and adjustments to really document regarding these scheduled forks, hopefully i can finish this today and try to finish up what id started writing over the last week regarding Casper vs Ouroboros and the future of Proof of Stake on SOILcoin.

martymcfly2015
Member
**
Offline Offline

Activity: 82
Merit: 10

Auxiliary Soil Developer


View Profile
May 10, 2017, 09:04:33 PM
Last edit: May 17, 2017, 10:43:42 PM by martymcfly2015
 #2384

Soil Windows Mining Guide

Download the mining package and extract it
https://github.com/Soilcoin/Soilcoin-Windows-mining/releases/download/0.1/soil-mining-windows.zip
Download ethminer and extract the files to soil-mining-windows/ethminer
https://github.com/Genoil/cpp-ethereum/raw/master/releases/ethminer-0.9.41-genoil-1.1.7.zip

If you don't have already a soil address - generate one
gsoil/gsoil-new-account.bat

Solo mining
soil-mining-windows/gsoil-solomine.bat
+
For nvidia gpus
ethminer/solo-mining-cuda.bat
For amd gpus
ethminer/solo-mining-ocl.bat

Pool mining
ethminer/miners-zone-cuda.bat
ethminer/miners-zone-ocl.bat
ethminer/pool.sexy-cuda.bat
ethminer/pool.sexy-ocl.bat

Choose cuda for nvidia gpus and ocl for amd gpus and the pool of your choice.
Open the bat file with an editor and enter your address and rig name.
http://pool:port/0x663682fd2d96064fdb2f152a56bab75d921065c0/marty

Happy mining!
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 11, 2017, 10:46:44 AM
 #2385

... documenting ...

wow, great stuff.

Really looking forward to reading all this.

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 11, 2017, 10:51:15 AM
 #2386

altsheets will you update your explorer node? Since stats and pool is linked on yours?

I can try today. IF the codebase is 100% reliable. Which one do I choose?

Was busy before. Sorry again.


Anyone's gonna SELL me some coins?
--> msg18798676
--> msg18695602

--> WTB/WTS thread

?

Thx.

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
frostminer
Hero Member
*****
Offline Offline

Activity: 742
Merit: 505


View Profile WWW
May 11, 2017, 11:30:55 AM
 #2387

altsheets will you update your explorer node? Since stats and pool is linked on yours?

I can try today. IF the codebase is 100% reliable. Which one do I choose?

Was busy before. Sorry again.


Anyone's gonna SELL me some coins?
--> msg18798676
--> msg18695602

--> WTB/WTS thread

?

Thx.

I wanna buy more too... but ill wait until we have an exchange to trade on.
Should we wait pushing exchange until you are done testing all the code?

Great job btw, guys.

altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 11, 2017, 11:07:17 PM
 #2388

altsheets will you update your explorer node? Since stats and pool is linked on yours?

I can try today. IF the codebase is 100% reliable. Which one do I choose?


AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 11, 2017, 11:48:55 PM
Last edit: May 12, 2017, 12:14:43 AM by altsheets
 #2389

altsheets will you update your explorer node? Since stats and pool is linked on yours?
I can try today. IF the codebase is 100% reliable. Which one do I choose?

I have started:

Code:
cd ~/go
wget https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version

cd ~/soil/
git clone https://github.com/Soilcoin/go-soil
cd go-soil
make gsoil

but soon ran into problems:

Code:
make gsoil
build/env.sh go run build/ci.go install ./cmd/gsoil
# runtime
/usr/local/go/src/runtime/signal_unix.go:27: _SIG_DFL redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:15
/usr/local/go/src/runtime/signal_unix.go:28: _SIG_IGN redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:16
/usr/local/go/src/runtime/signal_unix.go:37: fwdSig redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:25
/usr/local/go/src/runtime/signal_unix.go:42: disableSigChan redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:35
/usr/local/go/src/runtime/signal_unix.go:43: enableSigChan redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:36
/usr/local/go/src/runtime/signal_unix.go:44: maskUpdatedChan redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:37
/usr/local/go/src/runtime/signal_unix.go:56: signalsOK redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:49
/usr/local/go/src/runtime/signal_unix.go:62: initsig redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:55
/usr/local/go/src/runtime/signal_unix.go:97: sigInstallGoHandler redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:90
/usr/local/go/src/runtime/signal_unix.go:122: sigenable redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:115
/usr/local/go/src/runtime/signal_unix.go:122: too many errors
Makefile:15: recipe for target 'gsoil' failed
make: *** [gsoil] Error 2

Please advise, thanks.

EDIT: Also tried with go1.7.5 = identical problem

The machine is updated
Code:
apt update && apt upgrade
uname -a
Linux ....... 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux


P.S.: The old blockexplorer is offline for now. Please help me update to the newest node code, then it should probably continue to work. Thanks

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
abvhiael
Hero Member
*****
Offline Offline

Activity: 722
Merit: 501


View Profile
May 12, 2017, 12:13:57 AM
 #2390

...hopefully this is the last of the update documentation for a little bit. (laughs) so many new implementations, so much more we're going to have to test going forward... this post should cover the last of the upgrades to the SOIL, as pushed in by the 1.6.0 (Puppeth Master) code updates to Ethereum, and which brings SOILcoin to simple parity with their codebase....

*puppeth* : a new CLI interface which assists building new Ethereum-level blockchain networks down to the genesis, bootnodes, signers, ethstats, faucet, dashboard, etc , eliminating the need configure all these services one by one. Puppeth uses ssh to dial into remote servers, and builds its network components out of docker containers using docker-compose. The user is guided through the process via a command line wizard which handles the background configurations. This will help build test-nets for dApp development or private blockchains for DAOs, and should be an integral part of the system building a cross-chain linked blockchain network in the future.

Alongside Puppeth, a consensus engine interface will be built into the network level protocols of go-soil. It will permit the usage of alternatives to POW block verification schemes for smaller networks, where a different security model may be required. With this release, two consensus models are supported in the production of private chains: the currently used POW model, ethash; and a new "Proof of Authority" model called clique.

Clique, the POA protocol works by allowing authorized signatories to create new blocks at their own discretion, with the ability to control minting frequency, minting distribution load between the full list of signatories, and to dynamically adjust the list of trusted signers as needed. This protocol would require for a predetermined number of signatories have active nodes at any one time, to ensure minting diversity.

As far as I understand it, from researching the consensus engine idea, these sorts of entities could be deployed as sub-chains and mineable tokens on the EVM, and as Casper (the Ethereum Core's Proof of Stake model) comes closer to implementation, its methods are likely to be included within this interface as well. Ethereum has released a testnet (Rinkeby) that is running the PoA consensus engine, https://www.rinkeby.io/ which features netstats, a github linked faucet, block explorer, etc. if you want to poke around an iteration of what Puppeth can build out from SOILcoin as well.

*smaller changes

The gsoil console command evm can be used to disassemble contracts, as well as to create contracts written in teh EVM assembly language.

The swarm implementation is expanded to also permit users to upload and download entire directories via tarball streams in the HTTP interface, as well as mount an entire folder structure into their local filesystem via FUSE.

RPC compiler calls (eth_compileSolidity, eth_compileSerpent, and eth_compileLLL) are deprecated, and dApp developers are urged to use "proper development tools" instead. (truffle, embark, dapple) [i honestly had nothing but grief using eth_compile* with any dApp development work ive done, and while theres a learning curve to the CLI development tools mentioned, user-friendliness is improving exponentially.

thats pretty much it for the updates to potentiality with the SOILcoin blockchain. there are a ton of adjunct dApps and contracts that have to be deployed in support of these changes, and over the next few weeks ill be deploying and documenting these as well. a great deal of testing and screwing about with Swarm and Whisper is going to be needed to be done, in order to present the most friendly and understandable guides to using these technologies.

The first suite that i have to look at implementing is our own SOILcoin Name Service, which will be an integral part of the swarm funtionality on the SOILnet. The SNS will eliminate the need to copy long hexadecimal addresses (0xa1b2C3d4Ef67aA...), allowing users to claim .soil addresses, so that a transaction can be sent to somebody.soil instead of '0xa1b2C3d4Ef67aA...', or interact with 'mycontract.soil', or visit a Swarm-hosted site at 'swarmsite.soil'. will, naturally, document the heck out of it to encourage usability.





altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 01:50:26 PM
 #2391

...

but soon ran into problems:

Code:
make gsoil
build/env.sh go run build/ci.go install ./cmd/gsoil
# runtime
/usr/local/go/src/runtime/signal_unix.go:27: _SIG_DFL redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:15
/usr/local/go/src/runtime/signal_unix.go:28: _SIG_IGN redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:16
...
/usr/local/go/src/runtime/signal_unix.go:122: sigenable redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:115
/usr/local/go/src/runtime/signal_unix.go:122: too many errors
Makefile:15: recipe for target 'gsoil' failed
make: *** [gsoil] Error 2

Please advise, thanks.

...

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
martymcfly2015
Member
**
Offline Offline

Activity: 82
Merit: 10

Auxiliary Soil Developer


View Profile
May 12, 2017, 02:28:35 PM
Last edit: May 12, 2017, 02:42:07 PM by martymcfly2015
 #2392

...

but soon ran into problems:

Code:
make gsoil
build/env.sh go run build/ci.go install ./cmd/gsoil
# runtime
/usr/local/go/src/runtime/signal_unix.go:27: _SIG_DFL redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:15
/usr/local/go/src/runtime/signal_unix.go:28: _SIG_IGN redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:16
...
/usr/local/go/src/runtime/signal_unix.go:122: sigenable redeclared in this block
        previous declaration at /usr/local/go/src/runtime/signal1_unix.go:115
/usr/local/go/src/runtime/signal_unix.go:122: too many errors
Makefile:15: recipe for target 'gsoil' failed
make: *** [gsoil] Error 2

Please advise, thanks.

...
I think the problem is your go installation. Try to reinstall go. Delete your current go installation and all paths settings to your current go. Remove also any previous go installations via package manager.
Code:
sudo curl -O https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
Code:
sudo tar -xvf go1.8.linux-amd64.tar.gz
Code:
sudo mv go /usr/local
Code:
sudo nano /root/.profile
or
Code:
nano ~/.bashrc
add this to the file
Code:
export PATH=$PATH:/usr/local/go/bin
Code:
sudo source /root/.profile
or
Code:
source ~/.bashrc
That worked for me. I know, this is in principle what you did already - but maybe worth to try it...
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 03:37:41 PM
Last edit: May 12, 2017, 03:50:56 PM by altsheets
 #2393

Thanks a lot MMF

... but soon ran into problems: ... Please advise, thanks.
I think the problem is your go installation. Try to reinstall go. Delete your current go installation and all paths settings to your current go. Remove also any previous go installations via package manager....

Done:

Cleaning old GO version, and installing new go1.8.0 and go-soil1.6.1

Code:
apt update
apt remove golang
   Package 'golang' is not installed, so not removed
  
echo $PATH
I cleaned:

Code:
rm -rf /usr/local/go


Search ... there were no other mentionings of 'golang' left. (To search for 'go' is futile, what a stupid naming idea for a language.)

Code:
updatedb
locate golang | grep -v go-ethereum | grep -v go-soil

following your suggestion for go1.8.0

Code:
cd ~/go/
sudo curl -O https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
sudo tar -xvf go1.8.linux-amd64.tar.gz
sudo mv go /usr/local
nano ~/.bashrc
    export PATH=$PATH:/usr/local/go/bin
source ~/.bashrc
go version
    go version go1.8 linux/amd64

now trying again:

Code:
cd ~/soil/
rm go-soil -rf
git clone https://github.com/Soilcoin/go-soil
cd go-soil
make gsoil
   
no error message, great.

Code:
build/bin/gsoil version
Gsoil
Version: 1.6.1-MMF
Git Commit: 6ccff9a9a330755bdb7dcbb22eba58353cbb1d2d
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 42
Go Version: go1.8
Operating System: linux


Shortcut into path, and ... we'll see how this syncs now.

Code:
ln -sf ~/soil/go-soil/build/bin/gsoil ~/go/bin/
gsoil


Thanks!

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 03:49:14 PM
 #2394

Syncing on top of old chain ... works:

Code:
gsoil
INFO [05-12|15:42:48] Starting peer-to-peer node               instance=Gsoil/v1.6.1-MMF-6ccff9a9/linux-amd64/go1.8
INFO [05-12|15:42:48] Allocated cache and file handles         database=~/.soil/chaindata cache=128 handles=1024
WARN [05-12|15:42:49] Upgrading chain database to use sequential keys
WARN [05-12|15:42:49] Found genesis block without chain config
INFO [05-12|15:42:49] Initialised chain configuration          config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155:                                                                    0 EIP158: 0 Engine: ethash}"
INFO [05-12|15:42:49] Disk storage enabled for ethash caches   dir=~/.soil/gsoil/ethash count=3
INFO [05-12|15:42:49] Disk storage enabled for ethash DAGs     dir=~/.ethash            count=2
INFO [05-12|15:42:49] Initialising Soil protocol               versions="[63 62]" network=42
INFO [05-12|15:42:49] Loaded most recent local header          number=2000267 hash=8b4f6b…2881fd td=32538335992977008
INFO [05-12|15:42:49] Loaded most recent local full block      number=2000267 hash=8b4f6b…2881fd td=32538335992977008
INFO [05-12|15:42:49] Loaded most recent local fast block      number=2000267 hash=8b4f6b…2881fd td=32538335992977008
WARN [05-12|15:42:49] Blockchain not empty, fast sync disabled
INFO [05-12|15:42:49] Starting P2P networking
INFO [05-12|15:42:51] RLPx listener up                         self=enode://46fce6fdc328596df97c8c2e4d1744b9bf5bfd540                                                                   ff8cf95e4880d797bd92e2cb52a81f38a9a49e51079f875c1adbdc2d4d6f503253e2d7188a494d421bd968b@[::]:30403
INFO [05-12|15:42:51] IPC endpoint opened: ~/.soil/gsoil.ipc

Code:
INFO [05-12|15:43:21] Block synchronisation started
INFO [05-12|15:43:25] Generating ethash verification cache     epoch=66 percentage=29 elapsed=3.079s
INFO [05-12|15:43:28] Generating ethash verification cache     epoch=66 percentage=79 elapsed=6.119s
INFO [05-12|15:43:29] Generated ethash verification cache      epoch=66 elapsed=7.729s
INFO [05-12|15:43:30] Imported new chain segment               blocks=5 txs=0 mgas=0.000 elapsed=7.933s mgasps=0.000 number=2000005 hash=39d755…b0b10d
INFO [05-12|15:43:32] Generating ethash verification cache     epoch=67 percentage=19 elapsed=3.125s
INFO [05-12|15:43:36] Generating ethash verification cache     epoch=67 percentage=29 elapsed=6.199s
INFO [05-12|15:43:38] Imported new chain segment               blocks=179 txs=5 mgas=0.105 elapsed=8.100s mgasps=0.013 number=2000184 hash=e07fc0…ae2fa4
INFO [05-12|15:43:39] Generating ethash verification cache     epoch=67 percentage=41 elapsed=9.274s
INFO [05-12|15:43:42] Generating ethash verification cache     epoch=67 percentage=49 elapsed=12.640s

The interesting bit happens here:
WARN [05-12|15:43:42] Chain split detected                     number=2000000 hash=7b1028…4dbb4f drop=267 dropfrom=8b4f6b…2881fd add=244 addfrom=52e99f…68f5cd

Code:
WARN [05-12|15:43:42] Chain split detected                     number=2000000 hash=7b1028…4dbb4f drop=267 dropfrom=8b4f6b…2881fd add=244 addfrom=52e99f…68f5cd
INFO [05-12|15:43:45] Generating ethash verification cache     epoch=67 percentage=54 elapsed=15.725s
INFO [05-12|15:43:46] Imported new chain segment               blocks=130 txs=0 mgas=0.000 elapsed=8.010s  mgasps=0.000 number=2000314 hash=685315…68a11a
INFO [05-12|15:43:48] Generating ethash verification cache     epoch=67 percentage=66 elapsed=18.894s
INFO [05-12|15:43:51] Generating ethash verification cache     epoch=67 percentage=77 elapsed=21.919s
INFO [05-12|15:43:54] Imported new chain segment               blocks=200 txs=0 mgas=0.000 elapsed=8.172s  mgasps=0.000 number=2000514 hash=b76104…a2fa2e
INFO [05-12|15:43:54] Generating ethash verification cache     epoch=67 percentage=90 elapsed=24.985s
INFO [05-12|15:43:57] Generated ethash verification cache      epoch=67 elapsed=27.472s
INFO [05-12|15:44:02] Imported new chain segment               blocks=248 txs=0 mgas=0.000 elapsed=8.036s  mgasps=0.000 number=2000762 hash=6870f3…c0e3dd
INFO [05-12|15:44:10] Imported new chain segment               blocks=198 txs=5 mgas=0.105 elapsed=8.029s  mgasps=0.013 number=2000960 hash=875652…775d02
INFO [05-12|15:44:18] Imported new chain segment               blocks=180 txs=0 mgas=0.000 elapsed=8.016s  mgasps=0.000 number=2001140 hash=5b4646…254732
INFO [05-12|15:44:26] Imported new chain segment               blocks=194 txs=0 mgas=0.000 elapsed=8.029s  mgasps=0.000 number=2001334 hash=ffe879…be08d6
INFO [05-12|15:44:34] Imported new chain segment               blocks=226 txs=7 mgas=0.147 elapsed=8.081s  mgasps=0.018 number=2001560 hash=0c4cf1…49cebd
INFO [05-12|15:44:42] Imported new chain segment               blocks=219 txs=0 mgas=0.000 elapsed=8.064s  mgasps=0.000 number=2001779 hash=7448ae…de21e9
INFO [05-12|15:44:50] Imported new chain segment               blocks=272 txs=6 mgas=0.126 elapsed=8.024s  mgasps=0.016 number=2002051 hash=789e1e…7c3dc1
...

So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 04:06:06 PM
 #2395

Done. Now it only needs patience.

You can see it syncing, by reloading:

http://178.62.133.174:9001/#/chain/

Thanks for your help!

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
martymcfly2015
Member
**
Offline Offline

Activity: 82
Merit: 10

Auxiliary Soil Developer


View Profile
May 12, 2017, 04:11:40 PM
 #2396

Syncing on top of old chain ... works:

Code:
gsoil
INFO [05-12|15:42:48] Starting peer-to-peer node               instance=Gsoil/v1.6.1-MMF-6ccff9a9/linux-amd64/go1.8
INFO [05-12|15:42:48] Allocated cache and file handles         database=~/.soil/chaindata cache=128 handles=1024
WARN [05-12|15:42:49] Upgrading chain database to use sequential keys
WARN [05-12|15:42:49] Found genesis block without chain config
INFO [05-12|15:42:49] Initialised chain configuration          config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155:                                                                    0 EIP158: 0 Engine: ethash}"
INFO [05-12|15:42:49] Disk storage enabled for ethash caches   dir=~/.soil/gsoil/ethash count=3
INFO [05-12|15:42:49] Disk storage enabled for ethash DAGs     dir=~/.ethash            count=2
INFO [05-12|15:42:49] Initialising Soil protocol               versions="[63 62]" network=42
INFO [05-12|15:42:49] Loaded most recent local header          number=2000267 hash=8b4f6b…2881fd td=32538335992977008
INFO [05-12|15:42:49] Loaded most recent local full block      number=2000267 hash=8b4f6b…2881fd td=32538335992977008
INFO [05-12|15:42:49] Loaded most recent local fast block      number=2000267 hash=8b4f6b…2881fd td=32538335992977008
WARN [05-12|15:42:49] Blockchain not empty, fast sync disabled
INFO [05-12|15:42:49] Starting P2P networking
INFO [05-12|15:42:51] RLPx listener up                         self=enode://46fce6fdc328596df97c8c2e4d1744b9bf5bfd540                                                                   ff8cf95e4880d797bd92e2cb52a81f38a9a49e51079f875c1adbdc2d4d6f503253e2d7188a494d421bd968b@[::]:30403
INFO [05-12|15:42:51] IPC endpoint opened: ~/.soil/gsoil.ipc

...

So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155: 0 EIP158: 0 Engine: ethash}"
Please make a full resync to load the new config. By default fast sync is enabled - so it will take you only a couple of minutes.
Code:
config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 04:16:32 PM
Last edit: May 12, 2017, 05:00:29 PM by altsheets
 #2397

...
*gsoil will include a built-in netstats reporter with the ability to register a user node on the service simply thru the console. The ultimate goal would be to have the SOILcoin network intelligence tool return its report via a swarm-hosted page on the SOILnet, presently we will be able to take advantage of the service offered by miners-zone in correlation to their SOILcoin mining pool accessible at http://soil.miners-zone.net:9090/.  

Usage:
Code:
--ethstats "<nodename>:<secret>@soil.miners-zone.net:9090"
...

Have tried

Code:
 gsoil --ethstats "ABEESOIL:<same-password-as-before>@soil.miners-zone.net:9090"

but I get a

Code:
WARN [05-12|16:14:21] Stats login failed                       err=unauthorized

EDIT: I have now tried via the classical route (with eth-net-intelligence-api ...  pm2 start app.json), and it works. You see my node here: http://soil.miners-zone.net:9090/  ... using that same password. So ... where's my misunderstanding?



AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 04:20:37 PM
 #2398

Syncing on top of old chain ... works:
...
So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155: 0 EIP158: 0 Engine: ethash}"
Please make a full resync to load the new config. By default fast sync is enabled - so it will take you only a couple of minutes.
Code:
config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"

Why is that necessary?

The first 2000000 blocks were correct in any client version, were they not?

Only at 20000001 your new code started to do stuff differently - right?



AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
martymcfly2015
Member
**
Offline Offline

Activity: 82
Merit: 10

Auxiliary Soil Developer


View Profile
May 12, 2017, 04:34:09 PM
 #2399

Syncing on top of old chain ... works:
...
So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155: 0 EIP158: 0 Engine: ethash}"
Please make a full resync to load the new config. By default fast sync is enabled - so it will take you only a couple of minutes.
Code:
config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"

Why is that necessary?

The first 2000000 blocks were correct in any client version, were they not?

Only at 20000001 your new code started to do stuff differently - right?



Because of the ChainID. If you don't plan to do any transactions from this client - then it should work without a full recync, but you might stuck again on the upcoming forks (EIP150: 2463000 EIP155: 2675000 EIP158:2675000).
altsheets
Legendary
*
Offline Offline

Activity: 902
Merit: 1001

Free trial of #AltFolio = save time, react faster


View Profile WWW
May 12, 2017, 04:36:05 PM
 #2400

Syncing on top of old chain ... works:
...
So ... looks like updating AFTER a new version has already passed the fork-block ... is unproblematic.

config="{ChainID: 1337 Homestead: 0 EIP150: 0 EIP155: 0 EIP158: 0 Engine: ethash}"
Please make a full resync to load the new config. By default fast sync is enabled - so it will take you only a couple of minutes.
Code:
config="{ChainID: 42 Homestead: 2000000 EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Engine: ethash}"

Why is that necessary?

The first 2000000 blocks were correct in any client version, were they not?

Only at 20000001 your new code started to do stuff differently - right?

Because of the ChainID. If you don't plan to do any transactions from this client - then it should work without a full recync, but you might stuck again on the upcoming forks (EIP150: 2463000 EIP155: 2675000 EIP158:2675000).

I see.

I don't remember this (having to resync from block 0) from any other hardfork.

AltFolio = Altcoin Portfolio solution || AAsset = crowdfunding, dividends paying = profit sharing Assets on NXT || Newbium great new platform || AssetGraphs = novel GUI to assets & shareholders (won nxthacks2015!) || ABEE = Block Explorer Extension for ETH clones, live on SOIL || Advice = Consulting || assetparser.py and shareholders.py - tools for NXT/HZ asset buyers & issuers || bamm.py || PeerCrawler || PGP || Texts || Github e.g. ChainCountDown, ethjsre |||| /give/ GiveBackLicense /give/ |||| Looking for an affordable crypto advertisement service with adspaces on crypto-attractive websites, contact me, thx.
Pages: « 1 ... 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 [120] 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!