Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
279 commits
Select commit Hold shift + click to select a range
b9a0d42
tests for diagnostics
michaelbeam Mar 22, 2019
b363b53
Merge branch 'FD-863_Missing_API_Functions' into FD-881_TPS
michaelbeam Mar 22, 2019
93ebb0c
test for tps
michaelbeam Mar 22, 2019
6026a72
missing quotes
michaelbeam Mar 22, 2019
ee8ffdb
Merge branch 'FD-863_Missing_API_Functions' into FD-877_FBlock
michaelbeam Mar 22, 2019
c581348
added test for fblock
michaelbeam Mar 22, 2019
593d137
fixed json unmarshaling for fblock
michaelbeam Mar 22, 2019
6a4c3dd
simplified json unmarshaling for fblock
michaelbeam Mar 22, 2019
2d4a640
ecblock partial unmarshalling
michaelbeam Mar 27, 2019
886beb9
unmarshaling for entry credit block entries
michaelbeam Mar 27, 2019
a5866f8
fixed millitime conversion for ecblock entrycommit
michaelbeam Mar 28, 2019
da1effc
added UnmarshalJSON for CommitChain and updated tests
michaelbeam Mar 28, 2019
f9ffc95
added error for unknown ecbentry
michaelbeam Mar 28, 2019
2e90ef6
Merge branch 'FD-863_Missing_API_Functions' into FD-872_Authorities
michaelbeam Apr 1, 2019
f3b9ac4
Authorities unmarshalling and tests
michaelbeam Apr 1, 2019
37bccd9
Merge branch 'FD-863_Missing_API_Functions' into FD-873_Diagnostics
michaelbeam Apr 1, 2019
3bd616e
removed debuging statements
michaelbeam Apr 1, 2019
f2c01c4
rename for wrapper type
michaelbeam Apr 1, 2019
375ee61
Merge branch 'FD-863_Missing_API_Functions' into FD-881_TPS
michaelbeam Apr 1, 2019
ac6c676
structures and functions for dealing with Admin Blocks
michaelbeam Apr 2, 2019
9e770b3
AddAuthorityAddress ABlock Entry type
michaelbeam Apr 2, 2019
8ec8bd0
AddAuthorityEfficiency ABlock Entry type
michaelbeam Apr 2, 2019
5d2f236
Merge branch 'FD-863_Missing_API_Functions' into FD-878_Factoid_Submit
michaelbeam Apr 2, 2019
b3d02e4
code reorg (no changes)
michaelbeam Apr 2, 2019
f702d76
removed debugging code
michaelbeam Apr 2, 2019
c420792
added caller for GetMultipleFCTBalances
michaelbeam Apr 2, 2019
3dc8a6a
added caller for GetMultipleECAddresses
michaelbeam Apr 2, 2019
ed3b815
rename ECBlock Entry Types
michaelbeam Apr 2, 2019
79dac52
Merge branch 'FD-863_Missing_API_Functions' into FD-875_ECBlock
michaelbeam Apr 2, 2019
2b9a8c9
minor formatting
michaelbeam Apr 3, 2019
53c5fc8
removed failing wallet test until we can revisit and fix it
michaelbeam Apr 3, 2019
7cd7484
removed DEBUG comments only (no code changes)
michaelbeam Apr 3, 2019
6f3ce3a
comment test
michaelbeam Apr 3, 2019
d89a747
added diagnostics test
michaelbeam Apr 3, 2019
56a1d96
slight re-org and comments
michaelbeam Apr 3, 2019
9cc6603
changed GetFBlock signature to return rawdata in addition to the FBlock
michaelbeam Apr 3, 2019
4702e85
removed debug statement
michaelbeam Apr 3, 2019
efab0c0
added RawData return to GetECBlock
michaelbeam Apr 3, 2019
c317563
spelling
michaelbeam Apr 3, 2019
a40f868
added RawData output for GetABlock
michaelbeam Apr 3, 2019
378fba7
comments
michaelbeam Apr 3, 2019
1e96f25
rebase from FD-863
michaelbeam Apr 3, 2019
5652e57
helper functions for creating chainids
michaelbeam Apr 3, 2019
ab63918
function documentation
michaelbeam Apr 3, 2019
033b6ee
typo
michaelbeam Apr 3, 2019
22a3c9c
changed DBlock structe and added new functions for GetDBlock and GetD…
michaelbeam Apr 4, 2019
411189a
Merge branch 'FD-875_ECBlock' into byHeight-ecblock
michaelbeam Apr 5, 2019
c4e0409
updated GetECBlockByHeight
michaelbeam Apr 5, 2019
b07d768
small test fix
michaelbeam Apr 5, 2019
4013b39
Merge branch 'FD-871_AdminBlock' into byHeight-ablock
michaelbeam Apr 5, 2019
345089c
updated GetABlockByHeight
michaelbeam Apr 5, 2019
29381b0
Merge branch 'FD-877_FBlock' into byHeight-fblock
michaelbeam Apr 5, 2019
38781a6
updates for GetFBlockByHeight
michaelbeam Apr 5, 2019
773ed82
minor formatting
michaelbeam Apr 5, 2019
8e6ebc2
Merge branch 'byHeight-ablock' into FD-920_byHeight_new
michaelbeam Apr 5, 2019
11b5cea
Merge branch 'byHeight-ecblock' into FD-920_byHeight_new
michaelbeam Apr 5, 2019
51235ee
Merge branch 'byHeight-fblock' into FD-920_byHeight_new
michaelbeam Apr 5, 2019
4913110
wallet to use updated Get function
michaelbeam Apr 5, 2019
0038ba3
Merge branch 'FD-920_byHeight-fblock' into FD-920_byHeight
michaelbeam Apr 5, 2019
da50e04
wallet update for new fblock Get funcs
michaelbeam Apr 5, 2019
df920f9
Merge branch 'FD-920_byHeight-fblock' into FD-920_byHeight
michaelbeam Apr 5, 2019
6ca0e4c
removed unessesary imports
michaelbeam Apr 5, 2019
d5b7857
removed depricated functions in byHeight.go
michaelbeam Apr 5, 2019
8a7afe4
NewEntryFromStrings and NewEntryFromBytes
michaelbeam Apr 11, 2019
fd4402f
cleanup for entry tests
michaelbeam Apr 11, 2019
b04ccf9
tests for NewEntry
michaelbeam Apr 11, 2019
d373213
removed debug statements
michaelbeam Apr 11, 2019
df29e8b
removed unused code
michaelbeam Apr 11, 2019
d8e769c
removed unused code
michaelbeam Apr 11, 2019
6d9b016
added NewChain functions
michaelbeam Apr 12, 2019
f830b95
cleanup chain tests
michaelbeam Apr 12, 2019
53f28e8
tests for NewChain funcs
michaelbeam Apr 12, 2019
dabb053
removed unused code
michaelbeam Apr 12, 2019
4b9978c
test updates
michaelbeam Apr 12, 2019
1d50d6e
minor fixes for tests
michaelbeam Apr 12, 2019
04e18a9
removed unused code
michaelbeam Apr 12, 2019
d6ce331
minor
michaelbeam Apr 12, 2019
02b4c53
Merge branch 'FD-955_NewChain' into reorg
michaelbeam Apr 17, 2019
f1ee631
moved chain and eblock functions
michaelbeam Apr 18, 2019
f5d9ec8
Merge branch 'FD-955_NewChain' into reorg
michaelbeam Apr 18, 2019
af98f7f
moved entry functions
michaelbeam Apr 18, 2019
fd88e68
move get raw functions
michaelbeam Apr 18, 2019
32014c5
Merge branch 'FD-881_TPS' into reorg
michaelbeam Apr 18, 2019
236d13a
Merge branch 'FD-873_Diagnostics' into reorg
michaelbeam Apr 18, 2019
c8112b9
Merge branch 'FD-872_Authorities' into reorg
michaelbeam Apr 18, 2019
7e943fd
Merge branch 'FD-878_Factoid_Submit' into reorg
michaelbeam Apr 18, 2019
9933e86
testing imports
michaelbeam Apr 18, 2019
e9d1ef7
testing imports
michaelbeam Apr 18, 2019
55fef44
test imports
michaelbeam Apr 18, 2019
26deee8
test imports
michaelbeam Apr 18, 2019
d205062
moved FactoidSubmit to transaction.go
michaelbeam Apr 18, 2019
cb6b53b
moved balance functions
michaelbeam Apr 18, 2019
5686507
moved dblock tests
michaelbeam Apr 18, 2019
f8ba0a0
moved entry tests
michaelbeam Apr 18, 2019
827ad60
moved tests for GetRaw
michaelbeam Apr 18, 2019
e060cf3
changes for GetECRate
michaelbeam Apr 18, 2019
12796b5
moved eblock tests
michaelbeam Apr 18, 2019
9f082ee
move transaction function
michaelbeam Apr 18, 2019
c6b5ccc
moved heights and properties functions
michaelbeam Apr 18, 2019
f355ce8
removed repeat tests
michaelbeam Apr 18, 2019
00ea952
eblock test
michaelbeam Apr 18, 2019
dac8642
fixed inconsistent copyright dates
michaelbeam Apr 18, 2019
82fc00f
chain error
michaelbeam Apr 19, 2019
dff0c56
fixed inconsistent copyright dates
michaelbeam Apr 19, 2019
44904c8
documentation for util functions
michaelbeam Apr 19, 2019
81a4446
documentation for ABlock
michaelbeam Apr 19, 2019
64eb7d9
small type change in ack, and ack tests
michaelbeam Apr 22, 2019
bab6c7c
Merge branch 'reorg' into FD-961_reorg
michaelbeam Apr 22, 2019
ff84cae
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
f3da2c3
rename for transaction data
michaelbeam Apr 22, 2019
a3179b9
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
63dd6de
documentation for ack datastructures
michaelbeam Apr 22, 2019
ef443ae
small code move in ack
michaelbeam Apr 22, 2019
e115ebb
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
664dd16
re-play previous documentation
michaelbeam Apr 22, 2019
a5a42dc
moved functions in ack.go
michaelbeam Apr 22, 2019
d2667a5
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
1d226e4
removed depricated EntryACK function
michaelbeam Apr 22, 2019
207cabd
test cleanup
michaelbeam Apr 22, 2019
0460964
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
f8cfef8
documentation for ack function
michaelbeam Apr 22, 2019
e2fd98e
added common errors for addresses
michaelbeam Apr 22, 2019
641edd8
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
c6c557b
rename for ParseMnumonic
michaelbeam Apr 22, 2019
4943d07
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 22, 2019
5c0e6fb
Documentation for addresses.go
michaelbeam Apr 22, 2019
cb5e670
moving code for addesses.go
michaelbeam Apr 22, 2019
6c80f4f
Merge branch 'FD-963_documentation' reorg
michaelbeam Apr 22, 2019
819ca9a
small comment
michaelbeam Apr 22, 2019
e189f66
documentation for RCD
michaelbeam Apr 22, 2019
e21d925
documentation for Authorities
michaelbeam Apr 22, 2019
22ccbcc
documentation for chain.go
michaelbeam Apr 22, 2019
3829390
documentation for dblock.go
michaelbeam Apr 23, 2019
92e4777
spelling
michaelbeam Apr 23, 2019
4ce5155
documentation for eblock.go
michaelbeam Apr 23, 2019
a221e58
added string method for Admin Entry ID
michaelbeam Apr 23, 2019
cc5566c
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 23, 2019
7eae9f4
documentation for ablock.go
michaelbeam Apr 23, 2019
5f51ea7
Documentation
michaelbeam Apr 23, 2019
dad4075
documentation for heights and api requester functions
michaelbeam Apr 23, 2019
1a99b26
changed signature for GetProperties function
michaelbeam Apr 23, 2019
91a1e1a
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 23, 2019
890a43c
documentation for raw.go
michaelbeam Apr 23, 2019
41ad6da
small code move for reciept
michaelbeam Apr 23, 2019
662e0a0
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 23, 2019
4560d26
documentation for Receipt
michaelbeam Apr 23, 2019
2b231a6
small fix for raw_test
michaelbeam Apr 23, 2019
8511a2a
documentation for resolve.go
michaelbeam Apr 23, 2019
059ba7b
formatting fixes for transaction functions
michaelbeam Apr 23, 2019
0e09800
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 23, 2019
4c073c3
documentation for transaction.go
michaelbeam Apr 24, 2019
ace1e81
documentation for wallet.go
michaelbeam Apr 24, 2019
2b73619
small reorg for wallet.go
michaelbeam Apr 25, 2019
24be4c3
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 25, 2019
ddbd59b
Merge pull request #95 from FactomProject/FD-873_Diagnostics
PaulSnow Apr 26, 2019
ab0e2b4
localized type definition for koinify request
michaelbeam Apr 26, 2019
926f946
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 26, 2019
d84b0d1
minor formatting
michaelbeam Apr 29, 2019
849cdf3
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam Apr 29, 2019
bb95210
Merge pull request #70 from AdamSLevy/dedup_valid_address_code
michaelbeam May 1, 2019
94ef09b
conditional valid address
michaelbeam May 1, 2019
e9dfb41
Merge pull request #68 from AdamSLevy/readme_pr
michaelbeam May 1, 2019
9e21b10
Merge pull request #64 from AdamSLevy/http-timeout
michaelbeam May 1, 2019
c50136d
config variable order
michaelbeam May 1, 2019
0502f1e
added top level package documentation
michaelbeam May 1, 2019
caf1058
formatting changes
michaelbeam May 1, 2019
e34ba46
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam May 1, 2019
729fd4e
small formatting changes
michaelbeam May 1, 2019
c33dfa2
Merge branch 'FD-961_reorg' into FD-963_documentation
michaelbeam May 1, 2019
55d4381
Merge pull request #94 from FactomProject/FD-872_Authorities
PaulSnow May 2, 2019
c5a03ca
Merge pull request #98 from FactomProject/FD-881_TPS
PaulSnow May 2, 2019
9c08d7a
Merge pull request #97 from FactomProject/FD-877_FBlock
PaulSnow May 2, 2019
abe07d0
Merge pull request #99 from FactomProject/FD-871_AdminBlock
PaulSnow May 2, 2019
6e34f53
Merge pull request #100 from FactomProject/FD-879_multiple_ec_balances
PaulSnow May 2, 2019
122d11d
Merge pull request #102 from FactomProject/FD-855_CurrentMinute
PaulSnow May 2, 2019
3ef0ba1
Merge pull request #103 from FactomProject/FD-900_ChainID_from_fields
PaulSnow May 2, 2019
5f255ca
Merge pull request #104 from FactomProject/FD-949_NewEntry
PaulSnow May 2, 2019
ecd6c92
Merge pull request #105 from FactomProject/FD-878_Factoid_Submit
PaulSnow May 2, 2019
0ab2113
added headerexpansionarea
michaelbeam May 3, 2019
e38b4ec
changed ecblock header field type
michaelbeam May 3, 2019
2ead2c8
minor formatting
michaelbeam May 3, 2019
654bcec
merge
michaelbeam May 6, 2019
a2a64a1
merge
michaelbeam May 6, 2019
db6e77e
merge from documentation
michaelbeam May 6, 2019
1119a9b
string method for properties
michaelbeam May 7, 2019
73bc7ff
bug fix for curentmin test
michaelbeam May 7, 2019
94041e9
fix for athorities unmarshal type
michaelbeam May 13, 2019
5a2cd50
comments for diagnostics
michaelbeam May 13, 2019
6f93e56
updated ablock unmarshal regexp and ablock tests
michaelbeam May 14, 2019
98bc592
comment formatting
michaelbeam May 14, 2019
86f6a41
Merge branch 'FD-875_ECBlock' into tmp-merge
michaelbeam May 14, 2019
98263a0
update test for ack
michaelbeam May 14, 2019
aa8e156
testing updates and fixes
michaelbeam May 14, 2019
e644e83
updates for balance tests
michaelbeam May 14, 2019
5baf319
updated tests for balances
michaelbeam May 15, 2019
86389c4
updates for chain tests
michaelbeam May 15, 2019
c453f79
updated test for currentminute
michaelbeam May 15, 2019
95d30cb
updated tests for dblock by height
michaelbeam May 15, 2019
7424019
updated test for diagnostics
michaelbeam May 15, 2019
ec3d18d
udates to eblock test
michaelbeam May 15, 2019
df356b8
updates for ecblock tests
michaelbeam May 15, 2019
7878c04
updates for ecrate test
michaelbeam May 15, 2019
d6b6585
udates for entry tests
michaelbeam May 15, 2019
efd44b6
updates for fblock tests
michaelbeam May 15, 2019
934392f
updated test for heights
michaelbeam May 15, 2019
2c540f4
minor updates for jsonrpc test
michaelbeam May 15, 2019
dc209b7
added test for properties
michaelbeam May 15, 2019
6c28a6b
updated raw tests
michaelbeam May 15, 2019
e7aec4e
added reciept test
michaelbeam May 15, 2019
f089ce0
added String method for Reciept
michaelbeam May 15, 2019
f879196
updates for tps test
michaelbeam May 15, 2019
307c665
updates for json tests
michaelbeam May 16, 2019
4e84236
minor updates for identity test
michaelbeam May 16, 2019
eebb724
fixes for identity tests
michaelbeam May 17, 2019
862852c
removed debuggin output
michaelbeam May 17, 2019
ea5df80
fixes for identityKey tests
michaelbeam May 17, 2019
d85dfab
added more error checking for identity test
michaelbeam May 17, 2019
201a384
minor chaing in logic for identity
michaelbeam May 20, 2019
b680339
Merge pull request #96 from FactomProject/FD-875_ECBlock
PaulSnow Jun 7, 2019
f8bc6a3
spelling
michaelbeam Jun 13, 2019
93dd680
added unit tests for generating chainid from different inputs
michaelbeam Jun 13, 2019
0483d59
Merge branch 'v1-rollup' into v1-rollup-testing
michaelbeam Jun 13, 2019
8be0700
Added some clarifying comments on ablock entries
Emyrk Jun 13, 2019
67684a0
Switch from travis to circle.
Emyrk Jun 14, 2019
4c7324b
Enable workflows for circleci 2.0
Emyrk Jun 14, 2019
d0dabd3
Replace tab with spaces in yml file
Emyrk Jun 14, 2019
26fbcd4
Correct yml spacing
Emyrk Jun 14, 2019
c4f6cfc
Added missing dependency for unit test
Emyrk Jun 14, 2019
30229a3
Replaced travis badge with circleci
Emyrk Jun 14, 2019
ff96db5
Reduce glide.lock dependencies
Emyrk Jun 17, 2019
0858dc0
remove 2 uneeded deps
Emyrk Jun 17, 2019
dc8e14f
Bump circle to go 1.12
Emyrk Jun 17, 2019
31662fa
Merge pull request #109 from FactomProject/FD-1059_circle_ci
carryforward Jun 17, 2019
b9c573a
Merge pull request #108 from FactomProject/v1-rollup-testing
Emyrk Jun 17, 2019
c0c5f4c
added sequence number back to get head call
JoshuaBrigati Jun 21, 2019
345caab
added code in this commit
JoshuaBrigati Jun 21, 2019
2403dba
removed 1 space
JoshuaBrigati Jun 21, 2019
9b72c06
moved where sequence number is added
JoshuaBrigati Jun 24, 2019
5689e2b
Merge pull request #111 from FactomProject/FD-1071_adding_Sequence
Emyrk Jun 24, 2019
c27795c
silly me, I remove commente code that I left in
JoshuaBrigati Jun 24, 2019
49065b1
Merge pull request #112 from FactomProject/FD-1071_adding_Sequence
Emyrk Jun 24, 2019
d64d139
added byHeight file to call GetBlockByHeightRaw
JoshuaBrigati Jun 26, 2019
9a365d3
added Deprecation comments
JoshuaBrigati Jun 28, 2019
06dcca8
fixed deprecation notices
JoshuaBrigati Jun 28, 2019
635009d
Merge pull request #113 from FactomProject/FD-1075
Emyrk Jun 28, 2019
2f0fcfb
removed old byHeight code (again?)
michaelbeam Jul 8, 2019
8b6aaab
put byHeight back
michaelbeam Jul 8, 2019
9cb08f3
glide update
michaelbeam Jul 8, 2019
b398e7f
merge from v1-rollup
michaelbeam Jul 8, 2019
5edf724
Fix glide lock versions
Emyrk Jul 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.12

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

working_directory: /go/src/github.com/FactomProject/factom
steps:
- checkout
- run:
name: Get Glide
command: |
go get -v github.com/Masterminds/glide
cd $GOPATH/src/github.com/Masterminds/glide
git checkout tags/v0.13.1
go install
# Potentially enable coveralls in the future
# - run:
# name: Get goveralls
# command: |
# go get github.com/mattn/goveralls
- run:
name: Get the dependencies
command: |
glide install
- run:
name: Build and install to verify it builds
command: go install -v

# Move gopath to tmp so we have test files
- run:
name: Move GOPATH to persist
command: cp -r $GOPATH/ /tmp


- persist_to_workspace:
root: /tmp
paths: go

test:
working_directory: /tmp # All the binaries are saved here
docker:
- image: circleci/golang:1.12

steps:
- attach_workspace:
at: /tmp
- run:
name: Run unit tests
command: |
export PATH="/tmp/go/bin:$PATH"
export GOPATH=/tmp/go
cd /tmp/go/src/github.com/FactomProject/factom
go test -v ./...

workflows:
version: 2
commit-workflow:
jobs:
- build:
filters:
tags:
only: /.*/
- test:
filters:
tags:
only: /.*/
requires:
- build
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
factom api
===
[![Build Status](https://travis-ci.org/FactomProject/factom.svg?branch=develop)](https://travis-ci.org/FactomProject/factom)
[![CircleCI](https://circleci.com/gh/FactomProject/factom/tree/master.svg?style=svg)](https://circleci.com/gh/FactomProject/factom/tree/master)
[![GoDoc](https://godoc.org/github.com/FactomProject/factom?status.svg)](https://godoc.org/github.com/FactomProject/factom)

golang client implementation of the Factom web service api.
Golang client implementation of the
[`factomd`](https://github.com/FactomProject/factomd) and
[`factom-walletd`](https://github.com/FactomProject/factom-walletd)
[APIs](https://docs.factom.com/api).
Loading