Pages:
Author

Topic: [ANN] BITGESELL - Store of value (Burn rate is 90% of tx fees) #realstoreofvalue - page 58. (Read 28349 times)

newbie
Activity: 6
Merit: 0
questions from the hackathon:

how can we estimate the optimal transaction fee for a new transaction?

General question. How to create transactions for sending coins?
jr. member
Activity: 33
Merit: 17
Thx!
4 questions

Quote
1) Node and mainnet are not synchronized if I understand correctly. Can you tell me how to check this? And how to synchronize a node with Mainnet?

Run with -debug option and check startup log. Node should start syncing blockchain automatically (it should start in ~30 seconds from process start).
Check for messages like
Code:
2020-11-07T16:39:07Z New outbound peer connected: version: 70015, blocks=32570, peer=4 (full-relay)
2020-11-07T16:39:07Z New outbound peer connected: version: 70015, blocks=32570, peer=5 (full-relay)
2020-11-07T16:39:08Z New outbound peer connected: version: 70015, blocks=32570, peer=6 (full-relay)
2020-11-07T16:39:09Z New outbound peer connected: version: 70015, blocks=32570, peer=7 (full-relay)
2020-11-07T16:39:11Z New outbound peer connected: version: 70015, blocks=32570, peer=8 (block-relay)
It would mean it's reaching other peers and will sync block to max height (32570 in this example) available.
Messages should be present like these:
Code:
2020-11-06T04:57:20Z InitialBlockDownload is true: time of tip block is older than maximum tip age
2020-11-06T04:57:20Z UpdateTip: new best=0000000000000d48de44893c3a99a42cc2888cd3bc5d2338a52939fab8fce8a8 height=21576 version=0x20000000 log2_work=66.722153 tx=24542 date='2020-08-22T03:39:36Z' progress=1.000000 cache=3.1MiB(23652txo)
InitialBlockDownload is true would mean node is syncing and not ready yet. UpdateTip appears when blockchain chunk is synced. You can delete .BGL/blocks and .BGL/chainstate directories to resync the blockchain.
When BGLd is running and syncing, you can run some RPC commands to check the status, e.g.:
Code:
BGL-cli getblockchaininfo
{
  "chain": "main",
  "blocks": 28806,
  "headers": 32572,
  "bestblockhash": "000000000000032bbc4f2e93b781ce0745787a104e0a8fb63464ee110fe4c820",
  "difficulty": 976588.2851135983,
  "mediantime": 1602488499,
  "verificationprogress": 1,
  "initialblockdownload": true,
  "chainwork": "0000000000000000000000000000000000000000000000089f89642c0349715c",
  "size_on_disk": 35013606,
 ...

This displays blockchain state of current node. In this example it's still downloading blocks (on 28806 of 32572 currently).

Quote
2) How to request the last block in a node?
Please check 'blockchain' RPC section in Bitcoin Core reference:
https://bitcoin-rpc.github.io/en/doc/0.17.99/rpc/blockchain/getblock/

For example:
Code:
BGL-cli getblockcount
32572

BGL-cli getblockhash 32572
0000000000000e6f72d79d245bdace554419707f916dd7e06b1e3a629e92cd2f

BGL-cli getblock 0000000000000e6f72d79d245bdace554419707f916dd7e06b1e3a629e92cd2f 1
{
  "hash": "0000000000000e6f72d79d245bdace554419707f916dd7e06b1e3a629e92cd2f",
  "confirmations": 1,
  "strippedsize": 626,
  "size": 989,
  "weight": 2867,
  "height": 32572,
  "version": 536870912,
...

Quote
3) Is there a method to get the current block number?

I think the reasonably good approach will assume (or check) that the node is synced (initial block download = false) and getblockcount would return blockchain height. The currently mined block but not yet written block is the next integer.

Quote
4) how can i find out the last possible stop_height value for the method rescanblockchain?

For the purpose of initializing existing wallet balance, it most probably should be up to the last block, so the full scan from 0 to getblockcount, because at any arbitrary block there could be utxo present for some address. Maybe if more conditions is present, this could be narrowed down. BGL blockchain is very compact now so probably any optimizations regarding this may be not of a very high priority.

Hope this helps!
newbie
Activity: 6
Merit: 0
Thx!
4 questions

1) Node and mainnet are not synchronized if I understand correctly. Can you tell me how to check this? And how to synchronize a node with Mainnet?
2) How to request the last block in a node?
3) Is there a method to get the current block number?
4) how can i find out the last possible stop_height value for the method rescanblockchain?
jr. member
Activity: 33
Merit: 17
Hi!

Could you please give an example of a node configuration for BGL?

By default, the node (when started without any arguments as BGLd) will sync to production mainnet, then listen to the localhost RPC without login or password, if you want to expose it somewhere, create a file
~/.BGL/BGL.conf

Code:
$ touch ~/.BGL/BGL.conf
# Expose the RPC/JSON API
server=1
rpcbind=10.0.1.5
rpcallowip=0.0.0.0/0
rpcport=8332
rpcuser=bgluser
rpcpassword=93jd987u54li

Operating SystemDefault BGL datadirTypical path to configuration file
Windows    %APPDATA%\BGL\C:\Users\username\AppData\Roaming\BGL\BGL.conf
Linux$HOME/.BGL//home/username/.BGL/BGL.conf
Mac OSX$HOME/Library/Application Support/BGL//Users/username/Library/Application Support/BGL/BGL.conf

You can also use Bitcoin Core-based config tools, like e.g.:
https://jlopp.github.io/bitcoin-core-config-generator/ (mb a bit complex one)
Just the file name and location is different.
newbie
Activity: 6
Merit: 0
Hi!

Could you please give an example of a node configuration for BGL?
copper member
Activity: 162
Merit: 68
Today 2020 year
not 2017
not 2018
not 2019!!
And humanity has PoS, BFT and oher types of consensus..
Graphene, tendermint.. so many blockchain frameworks
Ethereum change consensus to PoS at 1th December..
Proof of Work is unfriendly to the environment and outdated technology.
And my question is..
Why you make another fork of bitcoin in 2020 year!??
 Huh


1. This not an 'another fork' of bitcoin, this is an attempt to create new asset with new economical properties. I could use other code base, e.g. Eth one, or from one of the altcoins, so the emphasis is more on economics, not the programming. So I chose to use bitcoin code for this goal.
2. The goal is not technology for the sake of technology, even more, let me put it rather bluntly, other approaches (of consensus, infrastructure, programming languages, etc.) yet to have reach BTC success and adoption.
3. I lean towards PoW consensus, because this mechanics is the only one existing right now that is directly bound with material world through physical principle. In the end, if to extrapolate, PoW stimulates more efficient hardware, and more efficient technological process and faster chips, which moves digital economy forward. We share this evolutionary approach with bitcoin.
4. Miners get coin for spending real material resources that cost traditional money (GPUs, ASICs RnD and making of them, electricity paid in yuan). But to compensate for mining costs they have to sell mined coin. This allows for the distribution and rotation of the coin, helping with fair pricing, material world connection and liquidity.

5. You've asked great first question. I'd like to send you some BGL coins as a bonus for it (if you have BGL address, please send me). There is hackathon going for next 2 days, we should have wallet software updates hopefully, if you don't have BGL address, come back in few days Smiley
jr. member
Activity: 33
Merit: 17
Just a small hints list that may help in solving the task:
- Get a wallet address for test and private key (every team should be provided one);
- Set up a full node and run it (binary package is OK, use clean Ubuntu VM), let it sync, it does that in 3-5 minutes;
- When running node for the first time it would create ~/.BGL directory, new wallet and addresses (older-fashioned, BTC-Core way derivation);
- Play with RPC:
  - use dumpwallet to save 'your' addresses;
  - send a transaction from provided wallet to 'your' address using a sequence of:
    createrawtransaction/signrawtransaction/sendrawtransaction
    wait for the block to be mined and coins arrive at your wallet
- Check most important changes that were implemented from bitcoin regarding wallet interaction:
  - hashing algo change for blocks/transactions: hash.h, class CHash256 was split into additional CHash256BlockOrTransaction (keccak);
  - signing salt is changed (search for strMessageMagic);
- Pick some open-source BTC compatible wallet that you think is robust enough;
- Make changes;
- Test changes.
This is a pretty bird-eye view, but hopefully can help.
member
Activity: 149
Merit: 25
President of FinTechAssociation
Today 2020 year
not 2017
not 2018
not 2019!!
And humanity has PoS, BFT and oher types of consensus..
Graphene, tendermint.. so many blockchain frameworks
Ethereum change consensus to PoS at 1th December..
Proof of Work is unfriendly to the environment and outdated technology.
And my question is..
Why you make another fork of bitcoin in 2020 year!??
 Huh
member
Activity: 148
Merit: 45
https://bitaps.com/
Upon request of EmmaWu we support Bitgesell wallet hackathon.

 Just created draft BGL JS library https://github.com/bitaps-com/jsbgl

Signed transaction working example
https://github.com/bitaps-com/jsbgl/blob/beta/test/jsbgl.test.js#L2112

https://bgl.bitaps.com/78c5454deb539ca6712a548ecef6b84061d79318a3ff565ce9854f403c37cc59

Example changes from jsbtc  to  jsbgl

https://github.com/bitaps-com/jsbgl/blob/beta/src/classes/transaction.js#L608

We invite everyone to contribute to this library

Hope it will help for Bitgesell wallet hackathon participants
copper member
Activity: 162
Merit: 68
New winner of the transaction contest!
https://bglcontest.bitaps.com/
Block  # 32405
2020-11-06 12:55
bgl1qqz9ckd6lyu0n9mng9wjajwz4r3u6uw7r4zf0ze  (19682 transactions) - one more record!
Congrats!
reward is here 4332879ac0cb96d7ea80ded59426cd5d4079b8d2f3d1cc6521085e09e8b4a749
jr. member
Activity: 33
Merit: 17
Tomorrow is the start of a Bitgesell wallet hackathon. I would be supporting and answering questions here, AFAIK there would be some checkpoints specifically for Q&A sessions, nonetheless I would try to constantly be here from early evening CET to answer questions (mostly on the technical side). Please try to elaborate on the topic and everything should be alright. Best of luck to the teams!
jr. member
Activity: 31
Merit: 3
Nice!

bgl1q46dy2zdzhkkfw73dfapfl45agh0asgyrc0nqg9




That's perfect!
edf4abfd54c2a45004aaa73596b4ab38434019f1dd3d1d0b12fd427a5528f389
2100 bgl for this pizza!) Its $23USD right now.
Bon appetit!

Laslo:
So nobody wants a pizza?
I just want to report that I successfully traded "2100 bgl" for pizza.
Thanks sloiz!

Thanks Emma, well received. Buon appetit!
copper member
Activity: 162
Merit: 68
Nice!

bgl1q46dy2zdzhkkfw73dfapfl45agh0asgyrc0nqg9




That's perfect!
edf4abfd54c2a45004aaa73596b4ab38434019f1dd3d1d0b12fd427a5528f389
2100 bgl for this pizza!) Its $23USD right now.
Bon appetit!

Laslo:
So nobody wants a pizza?
I just want to report that I successfully traded "2100 bgl" for pizza.
Thanks sloiz!

jr. member
Activity: 31
Merit: 3
Hello everyone!

Tomorrow will be the launch of the hackathon! Tune in here from 6 to 8 November and see what the 30 selected teams come up with. They will be here on the forum asking questions so let's make them feel welcome  Grin

Join the conversation in our official Telegram channel!
[Bitgesell - $BGL
Official Telegram Group of Bitgesell.             Digital Asset #Bitgesell $BGL #realstoreofvalue
Provides the Perfect Ecosystem for True Digital Gold.

https://t.me/bitgesellofficial]

https://mybglwallet.com
jr. member
Activity: 31
Merit: 3
Nice!

bgl1q46dy2zdzhkkfw73dfapfl45agh0asgyrc0nqg9


copper member
Activity: 162
Merit: 68
Hey guys!

I think it's a good idea to make a pizza event! I want to treat people and pay for their pizza in BGL.

Please order pizza and post:
- a photo of pizza and bill (convert to USD/EUR if other currency);
- your BGL wallet address;

First 5 bills would be covered by me. Bon appetit!

(Idea is coming from this epic history: https://bitcointalksearch.org/topic/pizza-for-bitcoins-137)
copper member
Activity: 162
Merit: 68
Congratulations to new winner of the transaction contest!
https://bglcontest.bitaps.com
block #30389 2020-10-23 09:52
The address bgl1qqz9ckd6lyu0n9mng9wjajwz4r3u6uw7r4zf0ze made 4229 transactions.
Reward txid is 937e4da1bc24d760fc17806acfe18e595d8257c028b53390de420c8c7b9dd932



Congratulations to new winner of node incentive program!
https://bglcontest.bitaps.com/nodes  2020-10-26 Total network nodes: 31

Here's winners list:
bgl1qnuy5y59t7whymvfjc9tcn8gyjf0l0qs37v39sw
bgl1qr7axmtets2zqmv6xhzvp09nxpmtkajfx7xk0e8
bgl1qge8v9jrasd922cge0t9ngyfnvjm2dd26qkfsk4
bgl1qxv49wh3hdewlfdvx42ljhnnc03upt2uts3rx3r
bgl1qe4yaqr3qndq5n6n82wc97wc5myx345dmn6wj44
bgl1q37ctk7ys807nh33e9t83zgcp6p4uaaturdg8a5
bgl1qnl58hvrytnqmp3pw9uame24tcxw6y8dfwnlj49
bgl1qw82jt9a4x8c58ute0hpsv8f60dzzsw0eufjaxa
bgl1qylqgf65wcxw86kd6j0ht408fdyuuen46fefuwt
bgl1q6fmzsjlpnsg63j78wth0w0n36mf8l0mx6vps6m
Reward txid is 0c899af952357b88ad34602df1472cc5e3156696d55389e84584a1182b97622b



Next winner of the transaction contest!
Block  #31397
2020-10-30 07:57
bgl1qqpw5vkt5alnn3yzaknjm3nyegs6hs7rgp7sv02 (17122 transactions) - new record!
Congrats!
reward is 2a83a03c02928e21227f39d31cb65c65f6559dc6cfb21e55fa24f2c2e68421c2



Congratulations to new winner of node incentive program!
https://bglcontest.bitaps.com/nodes 2020-11-02 Total network nodes: 32

Here's winners list:
 bgl1qnl58hvrytnqmp3pw9uame24tcxw6y8dfwnlj49
bgl1qw82jt9a4x8c58ute0hpsv8f60dzzsw0eufjaxa
bgl1qe4yaqr3qndq5n6n82wc97wc5myx345dmn6wj44
bgl1qge8v9jrasd922cge0t9ngyfnvjm2dd26qkfsk4
bgl1q6fmzsjlpnsg63j78wth0w0n36mf8l0mx6vps6m
bgl1qylqgf65wcxw86kd6j0ht408fdyuuen46fefuwt
bgl1qczfq6audnx8ts7eyk4859hcn0xsv06f3rzvwch
bgl1qnuy5y59t7whymvfjc9tcn8gyjf0l0qs37v39sw
bgl1qzxrnqw27sy3wkf5whvp5ku0mmjxd3aed0z7x2a
bgl1q37ctk7ys807nh33e9t83zgcp6p4uaaturdg8a5
Reward txid is 7907f193b30b6559542e4f210b84edd58ac33a5f2b9239068c44adb361155f2d
member
Activity: 430
Merit: 22
Professional user
30 best teams will compete for the prize fund of 30,000 USDT at Crypto Wallet Kikstart (Powered by Bitgesell) online hackathon. It'll be held November 6-8

At the hackathon, participants will develop Cryptocurrency Wallet as web app and as a mobile app.

Also at Crypto Wallet Kikstart will be:
• food delivery;
• merch;
• the opportunity to launch a product!

We invite to participate:

• Team leaders: hustlers, presenters, managers, connectors, idea generators;
• Fullstack/Mobile/Front + Back developers;
• Blockchain enthusiasts/Backend developers;
• Designers.

Register by November 3 8:59 pm (GMT +0) via the link: https://mybglwallet.com/

Don't forget to join the Telegram chat to find like-minded people: https://bit.ly/3iZXGpd

We are waiting you for the Crypto Wallet Kickstart online hackathon!

thank you , maybe i will join with my team, we were working at code already
copper member
Activity: 162
Merit: 68
30 best teams will compete for the prize fund of 30,000 USDT at Crypto Wallet Kikstart (Powered by Bitgesell) online hackathon. It'll be held November 6-8

At the hackathon, participants will develop Cryptocurrency Wallet as web app and as a mobile app.

Also at Crypto Wallet Kikstart will be:
• food delivery;
• merch;
• the opportunity to launch a product!

We invite to participate:

• Team leaders: hustlers, presenters, managers, connectors, idea generators;
• Fullstack/Mobile/Front + Back developers;
• Blockchain enthusiasts/Backend developers;
• Designers.

Register by November 3 8:59 pm (GMT +0) via the link: https://mybglwallet.com/

Don't forget to join the Telegram chat to find like-minded people: https://bit.ly/3iZXGpd

We are waiting you for the Crypto Wallet Kickstart online hackathon!
member
Activity: 430
Merit: 22
Professional user
Hi there,

I created several issues on GitHub
https://gitcoin.co/issue/wu-emma/bitgesell/8/100023781
https://gitcoin.co/issue/wu-emma/bitgesell/9/100023782 (done)
https://gitcoin.co/issue/wu-emma/bitgesell/10/100023783
you are welcome to check them out and help! They would be helpful for the next things coming.
Some interesting technical activities are planned in next weeks.

hello i want to do these bounties but it says me there is already someone working at it. i think that these tasks are very easy. i can do them . the people that signed for it arent doing anything
Pages:
Jump to: