Skip to content

Latest commit

 

History

History
40 lines (36 loc) · 1.44 KB

upgrade.md

File metadata and controls

40 lines (36 loc) · 1.44 KB

CHIPS Upgrade

The underlying crypto on which the pangea protocol built on is CHIPS. As we know CHIPS initially is a BTC fork with the modified chain and mining parameters to suit to the real time gaming applications. So CHIPS will be periodically updated from the BTC upstream changes to fetch the changes that are needed.

With that little background, the CHIPS API's used by bet are mentioned below. So whenever the CHIPS upstream changes are made its important to test these API's for bet compatability.

addmultisigaddress 
createrawtransaction
decoderawtransaction
getbalance
getblock
getblockcount
getnewaddress
getrawtransaction
gettransaction
importaddress
listaddressgroupings
listunspent
sendrawtransaction
signrawtransactionwithwallet 
validateaddress

LN Upgrade

Since bet uses the lightning network for the real time payments, so its necessary for the CHIPS LN node to be sync with upstream lightning network. As we seen the changes in the input and output of LN API's in the upstream we should be cautious about porting those changes into the CHIPS LN node. The LN commands that bet uses at the moment during the process of the game are listed below:

connect
dev-blockheight
fundchannel
getinfo
invoice
listfunds
listpeers
newaddr
pay
peer-channel-state

So we should test the functiolities of these API's to see any changes are made everytime when we port something to the downstream CHIPS LN node.