Channelsopen

This commit is contained in:
jl777
2018-08-28 02:18:04 -11:00
parent 510e020cb1
commit 810f63668c
13 changed files with 122 additions and 77 deletions

View File

@@ -167,17 +167,6 @@ void DiceQueue(int32_t iswin,uint64_t sbits,uint256 fundingtxid,uint256 bettxid)
} // small memory leak per DiceQueue
}
void endiancpy(uint8_t *dest,uint8_t *src,int32_t len)
{
int32_t i,j=0;
#if defined(WORDS_BIGENDIAN)
for (i=31; i>=0; i--)
dest[j++] = src[i];
#else
memcpy(dest,src,len);
#endif
}
CPubKey DiceFundingPk(CScript scriptPubKey)
{
CPubKey pk; uint8_t *ptr,*dest; int32_t i;