From 01d846280e5aa8ee0b6e175b4b349f3dd9e5c5e5 Mon Sep 17 00:00:00 2001 From: "Mindy C. Serl" Date: Tue, 22 Jun 2021 23:03:42 +0200 Subject: [PATCH] library update (0d8920d) on Tue Jun 22 11:01:00 PM CEST 2021 --- .gitattributes | 1 + _data/timelog.yml | 2 ++ config.yml | 11 ++++++++--- genesis.yml | 6 +++--- lib | 2 +- notes.md | 17 ++++++++++++++++- secrets/keys.yml | Bin 0 -> 157 bytes t/cashash.t | 31 +++++++++++++++++++++++++++++++ t/encode.t | 3 ++- testing.pl | 7 +++++-- 10 files changed, 69 insertions(+), 11 deletions(-) create mode 100644 secrets/keys.yml create mode 100644 t/cashash.t diff --git a/.gitattributes b/.gitattributes index 5d7abd8..e4062a2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,7 @@ *.mbox filter=git-crypt diff=git-crypt *.sec* filter=git-crypt diff=git-crypt *.key* filter=git-crypt diff=git-crypt +#config.yml filter=git-crypt diff=git-crypt secrets/** filter=git-crypt diff=git-crypt *.asc !filter !diff .gitattributes !filter !diff diff --git a/_data/timelog.yml b/_data/timelog.yml index de5174b..d6025fc 100644 --- a/_data/timelog.yml +++ b/_data/timelog.yml @@ -11,3 +11,5 @@ 1624117500619195903: stop toptal -- /drg/toychain 1624171149798092491: start toptal -- /drg/toychain 1624219990488746675: stop toptal -- /drg/toychain +1624361700774728980: start toptal pow -- /drg/toychain +1624395286300684038: stop toptal -- /drg/toychain diff --git a/config.yml b/config.yml index 22ea0bd..5842fe5 100644 --- a/config.yml +++ b/config.yml @@ -1,10 +1,15 @@ --- # toychain's config +version: 1.01 +chain: toychain +# p2p network = api+1 apis: - 127.0.0.1:8091 - 127.0.0.2:8093 - 127.0.0.3:8095 - 127.0.0.4:8097 - 127.0.0.5:8099 -# network = api+1 -difficulty: 2 -reward: 100 + +# block parameters : +bkver: 0 +difficulty: 5 +bkreward: 100 diff --git a/genesis.yml b/genesis.yml index 24d41ca..62f4751 100644 --- a/genesis.yml +++ b/genesis.yml @@ -2,14 +2,14 @@ ver: 0 data: seq: 0 - payload: QmWM48KvyK9YyPjJt69erxVPN3nbXVMgZWrncRJhAVkGAv + payload: /ipfs/QmWM48KvyK9YyPjJt69erxVPN3nbXVMgZWrncRJhAVkGAv comment: "This is the genesis block" meta: seed: 0xb3560762 - salt: 442360558803467359 # used in address computation + salt: 442360558864191384 # used in address computation txroot: ~ audit: peerid: QmcfHufAK9ErQ9ZKJF7YX68KntYYBJngkGDoVKcZEJyRve tics: 1623830817245864895 ip: 83.78.4.228 -prev: ZgjNT5GbSC81KmUPncwhzQAGV3GUeAXafmkMPBw2GMHWM +prev: ZdtrjkYsAYUeBCs4DRjtVYwPevpxvHjGT2PRauANr3Vao diff --git a/lib b/lib index 9d739e5..0d8920d 160000 --- a/lib +++ b/lib @@ -1 +1 @@ -Subproject commit 9d739e5c4bb0b27babea7bdc441cfed6a85bb694 +Subproject commit 0d8920d1f5b431c583a1a23d230b8ad0b0675c5d diff --git a/notes.md b/notes.md index 2e81f48..ad0b987 100644 --- a/notes.md +++ b/notes.md @@ -27,8 +27,23 @@ - PoW is to slow down chainupdate to avois spam - consensus is on the longest length -- /!\ maximal work is hackable +- /!\ maximal work is hackable (as pow is exponential to difficulties) - sort of tx sequence can be done on node side - block chain can store tx out of order (FIFO style) +- does mining really need to be conpetitive ? +- if mining is done by all node the recipient of txo will be willing to mine! +- if a .2% tax on transaction can replace/solve all VAT taxes + then mining rewards is "artificially" inflated to compensate for a wasteful + technology + +- nano-trading is stealing (i.e. taking advantage of who has the power to be informed fast) + on need to put a "lowpass" filter on trading : + speculation is necessary for long term protection against future uncertainty... + short term predicition make no sense ! + + long unpredictable queue time (mempools) can deter speculator as it would be like "lotery" + lotery is a "gamified" tax extractor. + + diff --git a/secrets/keys.yml b/secrets/keys.yml new file mode 100644 index 0000000000000000000000000000000000000000..45c591861a8b0eb329e675e96aebc1db92d92be6 GIT binary patch literal 157 zcmV;O0Al|DM@dveQdv+`0A5h!>T|u~GlUG|YsTESxQnsfH0cfLT)Ffn*8liMC!;BR zh&@^$`jbl$Hfh5ok4O