OSDN Git Service

doc: add fed sql schema (#134)
authorHAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Wed, 5 Jun 2019 03:00:18 +0000 (11:00 +0800)
committerPaladz <yzhu101@uottawa.ca>
Wed, 5 Jun 2019 03:00:18 +0000 (11:00 +0800)
* doc: add gitignore

* chore: clean release-notes

* doc: update fed doc

* doc: add fed sql schema

13 files changed:
.gitignore
Makefile
cmd/fedd/main.go [new file with mode: 0644]
docs/federation/README.md [new file with mode: 0644]
docs/federation/federation.sql [new file with mode: 0644]
docs/release-notes/release-notes-1.0.2.md [deleted file]
docs/release-notes/release-notes-1.0.3.md [deleted file]
docs/release-notes/release-notes-1.0.4.md [deleted file]
docs/release-notes/release-notes-1.0.5.md [deleted file]
docs/release-notes/release-notes-1.0.6.md [deleted file]
docs/release-notes/release-notes-1.0.7.md [deleted file]
docs/release-notes/release-notes-1.0.8.md [deleted file]
docs/release-notes/release-notes-1.0.9.md [deleted file]

index 5ea32d3..c6146a2 100644 (file)
@@ -20,6 +20,7 @@ _cgo_export.*
 
 _testmain.go
 
+cmd/fedd/fedd
 cmd/bytomd/bytomd
 cmd/bytomd/.bytomd
 cmd/bytomcli/bytomcli
index fa8426b..b81530d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,10 @@ BYTOM_RELEASE64 := bytom-$(VERSION)-$(GOOS)_amd64
 
 all: test target release-all install
 
+fedd:
+       @echo "Building fedd to cmd/fedd/fedd"
+       @go build $(BUILD_FLAGS) -o cmd/fedd/fedd cmd/fedd/main.go
+
 bytomd:
        @echo "Building bytomd to cmd/bytomd/bytomd"
        @go build $(BUILD_FLAGS) -o cmd/bytomd/bytomd cmd/bytomd/main.go
diff --git a/cmd/fedd/main.go b/cmd/fedd/main.go
new file mode 100644 (file)
index 0000000..da29a2c
--- /dev/null
@@ -0,0 +1,4 @@
+package main
+
+func main() {
+}
diff --git a/docs/federation/README.md b/docs/federation/README.md
new file mode 100644 (file)
index 0000000..d606fc0
--- /dev/null
@@ -0,0 +1,8 @@
+# Federation
+
+To run a federation node, you will need to:
+
+1. init a MySQL database with this [schema](./federation.sql);
+2. run a `bytomd` node;
+3. run a `vapord` node and import the federation private key;
+4. and last but not least, run a `fedd` node.
\ No newline at end of file
diff --git a/docs/federation/federation.sql b/docs/federation/federation.sql
new file mode 100644 (file)
index 0000000..f3850d1
--- /dev/null
@@ -0,0 +1,120 @@
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+CREATE SCHEMA IF NOT EXISTS `federation`;
+
+USE `federation`;
+
+# Dump of table warders
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `warders`;
+
+CREATE TABLE `warders` (
+  `id` tinyint(1) unsigned NOT NULL AUTO_INCREMENT,
+  `pubkey` varchar(64) NOT NULL,
+  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
+  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `pubkey` (`pubkey`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+LOCK TABLES `warders` WRITE;
+UNLOCK TABLES;
+
+
+# Dump of table chains
+# ------------------------------------------------------------
+
+CREATE TABLE `chains` (
+  `id` tinyint(1) NOT NULL AUTO_INCREMENT,
+  `name` varchar(64) NOT NULL,
+  `block_height` int(11) DEFAULT '0',
+  `block_hash` char(64) NOT NULL,
+  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `name` (`name`),
+  UNIQUE KEY `block_hash` (`block_hash`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+LOCK TABLES `chains` WRITE;
+/*!40000 ALTER TABLE `chains` DISABLE KEYS */;
+
+INSERT INTO `chains`
+(`id`, `name`, `block_height`, `block_hash`, `created_at`, `updated_at`)
+VALUES
+(1,'btm',0,'a75483474799ea1aa6bb910a1a5025b4372bf20bef20f246a2c2dc5e12e8a053','2018-09-13 05:10:43','2018-11-27 09:42:06');
+
+/*!40000 ALTER TABLE `chains` ENABLE KEYS */;
+UNLOCK TABLES;
+
+
+# Dump of table cross_transactions
+# ------------------------------------------------------------
+
+CREATE TABLE `cross_transactions` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `chain_id` int(11) NOT NULL,
+  `block_height` int(11) NOT NULL,
+  `block_hash` char(64) NOT NULL,
+  `tx_index` int(11) NOT NULL,
+  `mux_id` char(64) NOT NULL,
+  `tx_hash` char(64) NOT NULL,
+  `raw_transaction` mediumtext NOT NULL,
+  `status` tinyint(1) DEFAULT '0',
+  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `mux_id` (`mux_id`),
+  UNIQUE KEY `tx_hash` (`tx_hash`),
+  UNIQUE KEY `raw_transaction` (`raw_transaction`),
+  UNIQUE KEY `blockhash_txidx` (`block_hash`,`tx_index`),
+  UNIQUE KEY `blockheight_txidx` (`chain_id`,`block_height`,`tx_index`),
+  CONSTRAINT `transactions_ibfk_1` FOREIGN KEY (`chain_id`) REFERENCES `chains` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+LOCK TABLES `cross_transactions` WRITE;
+UNLOCK TABLES;
+
+
+# Dump of table cross_transaction_inputs
+# ------------------------------------------------------------
+CREATE TABLE `cross_transaction_inputs` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `tx_id` int(11) NOT NULL,
+  `source_pos` int(11) NOT NULL,
+  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `input_id` (`tx_id`,`source_pos`),
+  CONSTRAINT `cross_transaction_inputs_ibfk_1` FOREIGN KEY (`tx_id`) REFERENCES `cross_transactions` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+LOCK TABLES `cross_transaction_inputs` WRITE;
+UNLOCK TABLES;
+
+
+# Dump of table cross_transaction_signs
+# ------------------------------------------------------------
+CREATE TABLE `cross_transaction_signs` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `cross_transaction_id` int(11) NOT NULL,
+  `warder_id` int(11) NOT NULL,
+  `signatures` text NOT NULL,
+  `status` tinyint(1) NOT NULL,
+  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
+  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `sign_id` (`cross_transaction_id`,`warder_id`),
+  CONSTRAINT `cross_transaction_signs_ibfk_1` FOREIGN KEY (`warder_id`) REFERENCES `warders` (`id`),
+  CONSTRAINT `cross_transaction_signs_ibfk_1` FOREIGN KEY (`cross_transaction_id`) REFERENCES `cross_transactions` (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+LOCK TABLES `cross_transaction_signs` WRITE;
+UNLOCK TABLES;
\ No newline at end of file
diff --git a/docs/release-notes/release-notes-1.0.2.md b/docs/release-notes/release-notes-1.0.2.md
deleted file mode 100644 (file)
index 8e6db22..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-Bytom version 1.0.2 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.2
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](URL 'https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf')
-
-
-1.0.2 changelog
-================
-- `9769427`
-    + Added vault mode to support offline signature support. 
-- `b4f4163`
-    + Add system log to save to file.
-- `a96d25a`
-    + Lock data directory after daemonization.
-- `32d392b`
-    + add sign-message and verify-message API.
-- `993192a`
-    + Add decode-raw-transaction API.
-- `f9fa26e`
-    + Reconstruction build transaction's `MergeSpendAction` when spendAction contains common asset.
-- `b037ca0`
-    + Add wallet rescan option.
-- `7070fde`
-    + Accelerate node access to the mainnet.
-- `1b55497`
-    + Fix block sync routine lock bug.
-- `6808e24`
-    + Added tensority algorithm benchmark test. 
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-- wliyongfeng
-- Colt-Z
-- oysheng
-- Paladz
-- Lbqds
-- langyu
-- shengling2008
-- HAOYUatHZ
-- yahtoo
-- freewind
-- coocooooo
-
-And everyone who helped test.
\ No newline at end of file
diff --git a/docs/release-notes/release-notes-1.0.3.md b/docs/release-notes/release-notes-1.0.3.md
deleted file mode 100644 (file)
index 29ad879..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-Bytom version 1.0.3 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.3
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.3 changelog
-================
-__Bytom Node__
-
-+ `PR #969`
-    - Fix x86-32 system exeception on build transaction.
-+ `PR #983`
-    - API transaction json struct add tx_size field.
-+ `PR #987`
-    - API Get-block response's transaction struct add mux_id.
-+ `PR #988`
-    - Add API decode-program.
-+ `PR #1006`
-    - API list-addresses is sort by create time.
-+ `PR #1022`
-    - API list-transactions and get-transaction support return unconfirmed transaction.
-+ `PR #1023`
-    - Add API get-work-json & submit-work-json
-+ `PR #1030`
-    - Add server flag on peer netowork handshake
-+ `PR #1032`
-    - Implementing the UDP Node Discovery Protocol.
-+ `PR #1039`
-    - Modify error model for support high level error message 
-
-__Bytom Dashboard__
-
-+ `a51081c`
-    - Add progress bar for Sync Status.
-    - Modified the frontend for the list unconfirmed Tx.
-+ `3abb9ac`
-    - Add Tutorial for first time user.
-    - Fixed the filled amount and asset frontend bug.
-+ `f4d6387`
-    - Separate the advanced and normal transactions form into two component. Rework the transactions actions.
-    - Submit the form when users hit enter.
-    - Fixed some react error in new tx pages.
-    - When switch pages pop up the warning dialog if the transaction form is filled.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-- Colt-Z
-- freewind
-- HAOYUatHZ
-- langyu
-- oysheng
-- Paladz
-- shanhuhai5739 
-- yahtoo
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.4.md b/docs/release-notes/release-notes-1.0.4.md
deleted file mode 100644 (file)
index 99e258a..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-Bytom version 1.0.4 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.4
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.4 changelog
-================
-__Bytom Node__
-
-+ `PR #1104`
-    - Add block fast sync function.
-+ `PR #1048`
-    - Sort actions by original list for function MergeSpendAction.
-+ `PR #1081`
-    - Add API list-pubkeys.
-+ `PR #1098`
-    - Add API wallet-info to acquire rescanning wallet schedule.
-+ `PR #1112`
-    - Wallet support spends unconfirmed utxo.
-+ `PR #1115`
-    - Add bytomd command line parameter `--log_level` to set log level.
-+ `PR #1118`
-    - Add network access control api, include list-peers,connect-peer,disconnect-peer.
-+ `PR #1124`
-    - Fix a security bug that might attack Bytom server.
-+ `PR #1126`  
-    - Optimize the gas estimation for the multi-signed transaction.
-+ `PR #1130`  
-    - Add tx_id and input_id to the decode-raw-transaction API response.
-+ `PR #1133`
-    - Reorganize error codes and messages
-+ `PR #1139`
-    - Fix p2p node discover table delete bug
-+ `PR #1141`
-    - Delete unconfirmed transaction from the dashboard if it has been double spend 
-+ `PR #1142`
-    - Add simd support for tensority, including compilation option and command line flag (`--simd.enable`).
-+ `PR #1149`
-    - Optimize wallet utxo select algorithm on build transaction.
-
-__Bytom Dashboard__
-
-+ `PR #1143`
-    - Update the password field to prevent browser remember password.
-    - Add the rescan Wallet button for the balances page.
-    - Restyled the backup & restore pages.
-    - Add the terminal pop up modal in the setting page.
-`PR #1169`
-    - updated error message display in submitted form.
-
-__Equity Contract frontend__
-
-+ `PR #1144`
-    - Add 8 contracts to the lock page.
-    - Render the static component in the unlock page.
-    - Setup and configured the equity project into production environment.
-    - Unlock page get data from contract program for dynamic rendering.
-    - Build actions based on different contract templates.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-- Broadroad
-- Colt-Z
-- HAOYUatHZ
-- langyu
-- oysheng
-- Paladz
-- RockerFlower
-- shanhuhai5739
-- shenao78
-- successli
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.5.md b/docs/release-notes/release-notes-1.0.5.md
deleted file mode 100644 (file)
index b307342..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-Bytom version 1.0.5 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.5
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.5 changelog
-================
-__Bytom Node__
-
-+ `PR #1196`
-    - Remove the old p2p TCP peer exchange module.
-+ `PR #1204`
-    - Add paging to the three APIs: list-unspent-outputs,list-transactions, and list-addresses.
-+ `PR #1208`
-    - Add sync completion status broadcasting.
-+ `PR #1218`
-    - Fix the Unmarshal bug at getting an external asset.
-+ `PR #1233`
-    - Add check-key-password API.
-+ `PR #1219`
-    - Add get-coinbase-arbitrary, set-coinbase-arbitrary APIs.
-+ `PR #1232`
-    - Fix multi-sign process only being signed once if signed by the same password.
-+ `PR #1228`
-    - Upgrade txpool to prevent dropping orphan transaction.
-+ `PR #1241`
-    - Add function to delete expired orphan block.
-+ `PR #1253`
-    - Add support to filter by alias for list-accounts API.
-+ `PR #1245`
-    - API create-asset supports user custom smart contract.
-+ `PR #1258`
-    - Add node upgrade notification mechanism.
-+ `PR #1264`
-    - Improve the mining pool new block updating timing.
-+ `PR #1262`
-    - Add spv support for full node,which mainly includes filtering address and sending Merkle block.
-
-__Bytom Dashboard__
-
-- Add Chinese translation to equity contract.
-- Fix password will be frozen for 5 mins when the password is wrong.
-- Add transaction details before signing an advanced transaction.
-- Add version tag and version update notification.
-
-__Equity Contract frontend__
-
-- Add contract template of RevealPreimage support for entering any character
-- Asset selection box support BTM,expect when locking value
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-
-- Colt-Z
-- HAOYUatHZ
-- langyu
-- oysheng
-- Paladz
-- shanhuhai5739
-- shenao78
-- successli
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.6.md b/docs/release-notes/release-notes-1.0.6.md
deleted file mode 100644 (file)
index 93089f9..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-Bytom version 1.0.6 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.6rc1
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.6 changelog
-================
-__Bytom Node__
-
-+ `PR #1316`
-    - The default path of user data in the Mac environment is changed to ~/Library/Application Support/Bytom.
-+ `PR #1324`
-    - Fix bug for can't process new block due to system unexpectedly crashes.
-+ `PR #1323`
-    - Support using the mnemonic code for generating deterministic keys(BIP39).
-+ `PR #1336`
-    - Fix bug for concurrent map access in p2p status broadcast.
-+ `PR #1338`
-    - Fix API restore-wallet can't restore asset-alias error.
-+ `PR #1343`
-    - Add witness argument to transaction-related API response.
-+ `PR #1369`
-    - upgrade the estimate gas function to handle the edge case.
-+ `PR #1368`
-    - List-balances and list-unspent-outputs API support filter by account ID or account alias.
-+ `PR #1365`
-    - Add build-chain-transactions API to support intelligent merged BTM UTXOs and sent out the chain transactions.
-+ `PR #1378`
-    - Add submit-block API to support raw block submission to the remote node.
-
-
-__Bytom Dashboard__
-
-- Relayout the transaction item display.
-- Simplified the transaction details page.
-- Add the confirmation page for the normal transaction page.
-- Relayout the normal transaction page.
-- Add the multiple addresses functions in the normal transaction page.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-
-- Colt-Z
-- HAOYUatHZ
-- huwenchao
-- langyu
-- oysheng
-- Paladz
-- shenao78
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.7.md b/docs/release-notes/release-notes-1.0.7.md
deleted file mode 100644 (file)
index 4e716f6..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-Bytom version 1.0.7 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.7
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.7 changelog
-================
-__Bytom Node__
-
-+ `PR #1409`
-    - Support bip44 multi-account hierarchy for deterministic wallets.
-+ `PR #1418`
-    - The Equity contract arguments support string, integer and boolean as input types.
-+ `PR #1430`
-    - Add node network performance monitor for list-peers API.
-+ `PR #1439`
-    - Wallet support recovery from the mnemonic.
-+ `PR #1442`
-    - Add web socket push notification mechanism for new blocks and new transactions.
-+ `PR #1450`
-    - API get-block add asset definition for transaction's issue action.
-+ `PR #1455`
-    - Node support using SOCKS5 connect to Bytom network through a proxy server.
-+ `PR #1459`
-    - Modify equity compiler to support define/assign/if-else statement, and added the equity compiler tool..
-+ `PR #1462`
-    - Fixed wrong balance display after deleting the account.
-+ `PR #1466`
-    - Add update account alias API.
-+ `PR #1473`
-    - Support Mac using brew to install Bytom.
-
-__Bytom Dashboard__
-
-- Reconstruct the International language framework, change the hard code style into i18n mode.
-- Fixed the big number issue.
-- Added the mnemonic feature. Create mnemonic page, confirm mnemonic and restore by mnemonic page.
-- Updated the Equity contract template.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-
-- cancelloveyan
-- Colt-Z
-- Dkaiju
-- HAOYUatHZ
-- langyu
-- oysheng
-- Paladz
-- shenao78
-- shengling2008
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.8.md b/docs/release-notes/release-notes-1.0.8.md
deleted file mode 100644 (file)
index 8fdf374..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-Bytom version 1.0.8 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.8
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.8 changelog
-================
-__Bytom Node__
-
-+ `PR #1537`
-    - Add mined block subscribe function for easy wallet module subscription.
-+ `PR #1539`
-    - Discover: add node persistent storage, enabling faster node discovery.
-+ `PR #1554`
-    - Support Get the seed node from the DNS seed server.
-+ `PR #1561`
-    - Fix restore wallet will import duplicate key bugs.
-+ `PR #1538`
-    - Refactor switch code and add test makes the code structure clearer.
-+ `PR #1573`
-    - Fixed node startup id, preventing the node from regaining the node id every time it starts.
-+ `PR #1592`
-    - Fix new mined orphan block broadcast bug to prevent invalid blocks from being malicious.
-+ `PR #1605`
-    - Add no BTM input tx filter, to prevent dust transaction into the transaction pool.
-+ `PR #1544`
-    - get-raw-block API support return the transaction status
-+ `PR #1615`
-    - Update the wallet model for support switch chain core database in edge case situation
-+ `PR #1585`
-    - Strict block header validate rules for preventing irrational block version
-+ `PR #1579`
-    - limit the max number of orphan blocks which prevent memory attacks that create large numbers of orphan blocks
-+ `PR #1582`
-    - WebSocket subscriber will receive a raw transaction and corresponding status_fail field when an unconfirmed transaction arrives
-+ `PR #1617`
-    - Optimize the UTXO manage transaction processing order of block rollback.
-
-
-__Bytom Dashboard__
-
-- Add the Qr code component for RawTransaction JSON and Signature JSON.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-
-- Colt-Z
-- HAOYUatHZ
-- langyu
-- Paladz
-- shenao78
-- shengling2008
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.
diff --git a/docs/release-notes/release-notes-1.0.9.md b/docs/release-notes/release-notes-1.0.9.md
deleted file mode 100644 (file)
index 806c546..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-Bytom version 1.0.9 is now available from:
-
-  https://github.com/Bytom/bytom/releases/tag/v1.0.9
-
-
-Please report bugs using the issue tracker at github:
-
-  https://github.com/Bytom/bytom/issues
-
-How to Upgrade
-===============
-
-If you are running an older version, shut it down. Wait until it has quited completely, and then run the new version Bytom.
-You can operate according to the user manual.[(Bytom User Manual)](https://bytom.io/wp-content/themes/freddo/images/wallet/BytomUsermanualV1.0_en.pdf)
-
-
-1.0.9 changelog
-================
-__Bytom Node__
-
-+ `PR #1657`
-    - Save the index for all history transactions when "txindex" flag is provided for the purpose of future querying.
-+ `PR #1659`
-    - Add dust transaction filter rule to filer the transaction with dust output amount.
-+ `PR #1662`
-    - Add a keep_dial option in order to automatically retry connecting to provided peers.
-+ `PR #1677`
-    - Add a custom node alias feature, support custom the node's name by the configuration.
-+ `PR #1687`
-    - Support mDNS LAN peer discover to reduce the network bandwidth required for communication.
-+ `PR #1692`
-    - Add ugly transaction test that may occur in several scenes such as insufficient fee, unbalanced transaction, overflow, and signature fail tests.
-+ `PR #1697`
-    - Precisely estimate gas for standard transaction and issue transaction.
-+ `PR #1698`
-    - Add timestamp as random number generator seed number, ensure random number security.
-
-
-__Bytom Dashboard__
-
-- Update the Json structure and add new form stepper for the create asset page.
-- Add the issue asset option under the new transactions page. Support multi-signature under the issue asset transactions.
-
-Credits
---------
-
-Thanks to everyone who directly contributed to this release:
-
-- Agouri
-- Colt-Z
-- HAOYUatHZ
-- langyu
-- Paladz
-- shenao78
-- shengling2008
-- yahtoo
-- zcc0721
-- ZhitingLin
-
-And everyone who helped test.