Bitcoin Forum
October 14, 2024, 05:17:21 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 5 »
41  Bitcoin / Project Development / Re: (new tool) Bitcoin prices & psychological levels nearby - btc.hopto.org on: October 25, 2016, 11:12:26 PM
btc.hopto.org
is still working fabulously.

Anyone using it?


click for larger



retweet

42  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 25, 2016, 09:11:14 PM
Testnet for new 'homestead' code

Please participate.

I have created tutorials that
  • enable everyone with a bit of computer talent
  • to admin your own VPS server that is ON 24/7,
  • to compile, run, and use a SOIL-1.4.1 testnet node

Start here:
(1) your virtual private server (VPS) at cheap&powerful scaleway --> VPS-scaleway.md
(2) your SOIL testnet node on that VPS -->  gsoiltestnet.md

Please give feedback. Good tutorials ?

Thanks

[SOIL] 0x82e6fac28f2c0d89b442f4b7c0d72fa47c54efa7



P.S.: If you already know how, use martymcfly2015's code, and these nodes:
Quote

admin.addPeer("enode://debbd72816d1c6cfbcfae37e842a6906b122b9a2b196419e39b3087383e3ff4500e462dde66d88cc08aac20c777f6e57ecfa2c541e824b7f528a061e97cf378b@192.52.166.129:39340")
admin.addPeer("enode://ed51b7725c81f250e50c56e48a97ef674fac1e34621550aff9c082b70f2d4839f4812ce2f70a8e97f2e1c41b9f7e97d9881a727352cd005a2cb962020867dda4@163.172.162.229:39340")
admin.addPeer("enode://e310e882ea6dc0e57472b21f9029d4633bc24682b032bcf19da7b9d70e1fde5dd3715b08c124b03e89c9069d980e77dbd6bbe8782668031d5c2a28c6569afb76@163.172.187.101:39340")

43  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 24, 2016, 06:41:42 PM
My 1st mined testnet block was block #1374

with

> web3.fromWei(eth.getBalance(eth.coinbase), "soil")
7112
> eth.blockNumber
2262


and
 7112 / (2262-1374 + 1) = 8 SOIL / block

 ... that looks ... perfect.

So I am mining alone now, and the testnet rewards follow the mainchain rules, with:

Regarding the block rewards
HardFork1 = big.NewInt(263708) // Hard fork block reward 8 to 4 SOIL
HardFork2 = big.NewInt(320000) // Hard fork block time to 60 seconds
HardFork3 = big.NewInt(334000) // Hard fork block time to back to 15 seconds and block reward to 1 SOIL   

Let's see when it slows down:

(18:39:58 - 16:59:59) / (2262-1374 + 1) = 6.748 seconds / block

44  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 24, 2016, 04:50:48 PM
Great!  Well done.

Very good. When you think your code is ready, let us start a testnet run with a few nodes.
Supercheap new VPS provider: https://www.scaleway.com 3 EUR/month for 2 GB RAM!
CPU mining first?  GPU miners would have to be reliably connected for some time, otherwise the testnet chain comes to a halt when they exit.
Ok let's make a testnet. I made a "Testnet" branch.
... When you have started the client you will see acouple of messages: This one is important:
enode://...@[::]:30303
If you like, please post this line to the forum, so we will have some testnet nodes. Please replace [::] with the ip address if the node.  ...

I have included my testnet node:

Code:
admin.addPeer("enode://debbd72816d1c6cfbcfae37e842a6906b122b9a2b196419e39b3087383e3ff4500e462dde66d88cc08aac20c777f6e57ecfa2c541e824b7f528a061e97cf378b@192.52.166.129:39340")
admin.addPeer("enode://dea8948426de2527d5d6d7b8a31f8a233813d850db480c1346db1b8fd16499f9f110ada786f844491dc79a99b148cb2a91113a82a6cb70856f87dc32f97b5fdf@163.172.185.74:39340")

Who is next?  Join us for a new testnet start of the new homestead soil.


EDIT: ports changed to 39340.
45  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 21, 2016, 04:59:52 PM
Very good. When you think your code is ready, let us start a testnet run with a few nodes.
Supercheap new VPS provider: https://www.scaleway.com 3 EUR/month for 2 GB RAM!

CPU mining first?  
GPU miners would have to be reliably connected for some time, otherwise the testnet chain comes to a halt when they exit.

46  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 21, 2016, 04:39:42 AM

basic porting review of martymcfly2015's code

... I hope I can read your code, perhaps next week(end). An interesting opportunity to get to know the sourcecode better. ... Great step forward, well done!

I've gone through parts of the files that you had edited, from commit 9838e32 to commit 0371967.
Not a complete overview, definitely. But I now understand it a bit better.

And I have found some lines you might want to think about, check or correct:

https://github.com/martymcfly2015/go-soil/issues/1

I hope this work of mine helps somehow.

47  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 16, 2016, 08:43:05 PM
I accept donations soil 0xc7a8ac69835d74a7bd039ece1fc71f7cd9ea64f4  Smiley
Great step forward, well done!
2222 SOIL sent.
48  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: October 16, 2016, 08:38:33 PM

Hi guys,

I went through the forum posts and I like this project. I made the soil source code Homestead ready with all the benefit. Just for me to learn. If you are interested in my work let me know.
https://github.com/martymcfly2015/go-soil
I'm happy to build binarys for you to test. Just let me know.
I accept donations soil 0xc7a8ac69835d74a7bd039ece1fc71f7cd9ea64f4  Smiley

Thanks

Very interested indeed.

I am pressed with time right now - but I hope I can read your code, perhaps next week(end).
An interesting opportunity to get to know the sourcecode better. Any hints how to approach it?

Have you compared soilcurrency's approach to fork from the base ETH code; how it was done with the current wallet that we all are using?

Your commit history looks like you've started with original ETH code (last commits from obscuren and karalabe are March 3rd 2016), and then you began to adapt that to SOIL - right?
- or have you taken the existing SOIL code, and then merged Homestead changes?

Trying to understand. "Homestead" is this one. So you are forking from the orginal ETH code around March 3rd 2016 - correct?
What makes "Homestead" so special to put that as the starting point?
 
Thanks a lot.

Great step forward, well done!

49  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: August 07, 2016, 12:51:58 PM
Also ... I invite you, abvhiael, to try it out.

Thanks.
50  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: August 06, 2016, 08:12:22 PM
Smart Contract : WeatherForecastAtLocation
Autoupdating worked. 3rd tester: You?

... Let us see if the new oracle autoupdate is going to refresh your location ~24hours after the last update. Should be ~tomorrow morning.
It worked, and seemingly without any problems.

Look at http://weathercontract.hopto.org/oracle/
Quote
locations with pos. balance   0
location 24h autoupdates      11

The oracle kept on updating the locations (11 times in total) once per day - until their balances were all 0.


Reminder:

Testers wanted, for new Smart Contract
1500 SOIL total for the first 3 people to fully try out the quickstart:
                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish
                  300 SOIL for the 3rd to finish

So ... who is next? Learn to work with a novel smart contract, following a good instructions manual (first 2 testers were both happy).

Start with the quickstart, or for the more experienced (or in a hurry), with the  hyperquickstart.


51  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 31, 2016, 12:55:37 PM

Also see

It can become one doubleclick, no more manually adding nodes.
52  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 27, 2016, 04:25:52 PM
Thank you very much, ralfs.

293.11 Kelvin minus 272.15 = 20,96 degrees Celsius in Amsterdam, that's correct.
Very good. It is actually -273.15 Kelvin --> Celsius.

All depends on openweathermap's forecast quality. And weather might always turn out differently.


Nice contract Andreas!
Thanks.

Let us see if the new oracle autoupdate is going to refresh your location ~24hours after the last update. Should be ~tomorrow morning.


For my first test location, it has actually just done it, very nice. You can see that here: http://weathercontract.hopto.org/oracle/
Quote
location 24h autoupdates   1



And we have a 2nd winner:

Testers wanted, for new Smart Contract
1500 SOIL total for the first 3 people to fully try out the quickstart:
                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish
                  300 SOIL for the 3rd to finish

So ... who is next?
53  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: Smart Contract: WeatherForecastAtLocation on: July 26, 2016, 05:16:25 PM
Summary

  • Contract ( v0.5.9 ) is deployed, at address 0x0c5c4bc449808eee712b1d0858e2b12e71410c8e
  • Oracle eventlogloop is listening to its events, and uploads weather data whenever a location is "topped up"
  • and it updates the forecasts every 24 hours, as long as there is a positive locationBalance
  • Contract ABI is published as contract.js for easy import into console.
  • Contract tools.js help you to interact with it, on the JavaScript console  gsoil attach.
  • and most importantly:

    YOU CAN TRY OUT THE QUICKSTART MANUAL NOW.


Perhaps this is even your first interaction with a real, live, working, innovative SMART CONTRACT ever?  Exciting times ...

I have fully tested the preparations and the quickstart manual on a fresh droplet, but please report any issue.


you can tweet this image:
54  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 26, 2016, 04:23:55 PM
post 7

Smart Contract: WeatherForecastAtLocation
New contract v0.5.9 deployed

There was the need to deploy a new contract because:

The oracle is now checking (every 15 minutes) if there is an > 24 hours not updated location
(with money balance left) - and auto-updates those locations with fresh weather data.

BUT locations with weather error would have been queried every day, and never stopping,
because the oracle was not rewarded for updating with "weather error" message, and so
the balance was not decreased, and never depleted.

The new contract is fixing that, by rewarding the oracle for the "weather error" message,
so after some days, the location with "weather error" will be on balance zero - and be forgotten.

The good news:
                         The oracle is now auto-updating each location with positive balance.
                         About 24 hours after the last update, all its forecasts are updated with
                         new forecasts, until the balance of that location is depleted.


New contract deployed: Transaction in block 915500  with 43.573% of gas limit.

New contract is at address 0x0c5c4bc449808eee712b1d0858e2b12e71410c8e


Update your contract.js by downloading zip again, overwriting the old one, or:
Code:
cd weathercontract_user
git pull

Please keep on testing!
55  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 26, 2016, 07:04:00 AM
Btw. how can I check the balance for my location?
Code:
W.user_getLocationBalance()
Shows 0, but there should be a balance since I've topped up the location.

    city="q=Nanjing,China"
    WEATHER.user_getLocationBalance(city)
        5000000000000000000
    fromWei(WEATHER.user_getLocationBalance(city))
        5

@all
Try Andreas' project, it's educational and fun. Smiley
Yes, go for it!

56  Alternate cryptocurrencies / Marketplace (Altcoins) / Re: Smart Contract: WeatherForecastAtLocation on: July 25, 2016, 10:36:10 PM

Manual03: HyperQuick-Start

Start gsoil & gsoil console. Load scripts:
Code:
gsoil
gsoil attach

loadScript('useful/addpeers.js')
loadScript("contract/contract.js")
loadScript("contract/tools.js")

TOP UP LOCATION --> wait your and oracle's TX --> ASK FORECAST

Code:
city =   "q=Nanjing,China"
getForecast_message(city)

PRICE
tx = topUpLocation(city, 3); txReceipt = waitForTxReceipt(tx)

admin.sleepBlocks(1); getForecast_message(city)

getForecast(city)
getForecast(city, timestamp_now_plus_hours(24))
getForecast(city, timestamp_now_plus_hours(24 * 3.5))

getForecast_message(city, timestamp_now_plus_hours(24 * 4.5))

Step-by-step explanations in the quickstart manual.

57  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 25, 2016, 10:24:14 PM
post 6

Smart Contract: WeatherForecastAtLocation
WebView on Oracle Database



The oracle is now checking (every 15 minutes) if there is an > 24 hours not updated location
(with money balance left) - and auto-updates those locations with fresh weather data.

go to:   weathercontract.hopto.org/oracle
58  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 24, 2016, 11:10:41 PM
Thanks a lot!

here we go:
Code:
statusmessage => ForecastWeatherAtLocationAtTime:
forecasted time => Mon, 25 Jul 2016 17:00:00 CEST
temperature => 302.96 Kelvin
pressure => 1016.79 Hectopascal
humidity => 45 Percent
cloudcover => 64 Percent
windspeed => 3.37 Meter/Second
rain => 0.01 Millimeter in 3 hours
Very good, well done.

We have a 1st prize winner:
Testers wanted, for new Smart Contract
1500 SOIL total for the first 3 people to fully try out the quickstart:
                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish me
                  300 SOIL for the 3rd to finish
I have sent you the 700 SOIL to your address.


Just tested this on a spare Windows PC. Checked your manual02-preparations.md to get an overview, downloaded the repo using Firefox and followed the manual03-console-quickstart.md step by step without any issues.
Good to read that there were no issues at all in Windows.
I had also tested it myself, on a clean droplet in Linux.

Well documented project. Smiley
Thanks.

Would you recommend it to others? Then perhaps tweet about it.

Had to mine some SOIL for topping up the location, this took some time.
You even mined the money you used. Cool.

Might be an idea to lower the 'fee' from five to one SOIL during the testing period maybe? Anyway, I could have bought the SOIL on an exchange... Wink
Yes.
And whether you buy or mine - if you get 1 SOIL somehow, you'll also be able get 5 SOIL. Or 50. Or 500.

What else? Yes, the addpeers.js is very usefull indeed. This saved some time as I usually have to copy&paste a list of nodes to get the client running...
True. Saves a whole step.

Everyone: If you only include this one aspect into your system, you are already better off.


Great stuff, have played around with the first smart contract this weekend. Thank you! Smiley
That is great. Let us all become makers. Tell us when your the first ideas for novel smart contracts come up in you.

So, who is next, to try out this smart contract? Two rewards are still left.


59  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] SOIL | Environmental | Agriculture | Quixotic | Hackathon | Contracts on: July 24, 2016, 02:50:29 PM
Great.

The weathercontract:
http://178.62.133.174:9001/#/address/0xe904c0a8eb49f2fc7185eefde394c42caca028c6 DESTROYED, old
http://178.62.133.174:9001/#/address/0x0c5c4bc449808eee712b1d0858e2b12e71410c8e new v0.5.9

A 'topUpLocation' transaction
http://178.62.133.174:9001/#/transaction/0x4a38d7a0c048e28f17f3fc0a0e902ecbfcacac0af62a7e4e8822bb888887389d

An 'oracle_addForecast' transaction (when the oracle answers)
http://178.62.133.174:9001/#/transaction/0xc8bfc01fbd5793849d1a692a5f3a7e6743a6573bed707989ce43bfaebf54175d

The blockchain is a bit slow right now.
60  Other / Meta / Re: images not shown as newbie? on: July 20, 2016, 10:00:13 PM
Thanks to you, unknown benefactor. My "activity" has just miraculously jumped from 28 to 35. I can post images now: . Thanks.  Case closed.
Pages: « 1 2 [3] 4 5 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!